Looking for 2025/2024-2-30803241-DATABASE LAB-1-1 test answers and solutions? Browse our comprehensive collection of verified answers for 2025/2024-2-30803241-DATABASE LAB-1-1 at s1.ebalqa.courses.
Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!
COURSES
CID
|
CTITLE
|
CrHour
|
7890
|
Skills101
|
5
|
7910
|
Object Oriented Language
|
4
|
8500
|
Database Systems
|
5
|
8000
|
Skills102
|
5
|
9000
|
Logic Design
|
3
|
SESSIONS
SNO
|
S_CID
|
SDATE
|
SINSTRUCTOR
|
SCANCEL
|
10
|
7890
|
2005-12-02
|
DE KEYSER
|
Null
|
11
|
7910
|
2005-11-04
|
SMITHS
|
Null
|
12
|
7890
|
2006-01-08
|
DE KEYSER
|
C
|
13
|
7890
|
2006-02-02
|
DE KEYSER
|
Null
|
14
|
8000
|
2006-04-05
|
TAVERNIER
|
C
|
15
|
7910
|
2006-01-08
|
ADAMSON
|
C
|
16
|
8500
|
2007-04-05
|
ADAMSON
|
Null
|
17
|
9000
|
2007-06-07
|
ADAMSON
|
Null
|
According to the previous table, which table will be the result of the query?
Select CTitle from Courses Where CID in
(Select S_CID from Sessions Where Scancel = 'C');
According to the previous tables, which table will be the result of the query?
Select * from T1 right outer join T2 on ( Y = W );
SELECT e.first_name, d.department_name
FROM employees e JOIN departments d
USING (department_id)
WHERE e.department_id = 100
SELECT department_id, job_id, COUNT(last_name)
FROM employees
GROUP
BY department_id
In the following table you can find the values of the SESSION table.
SESSIONS
SNO
|
S_CID
|
SDATE
|
SINSTRUCTOR
|
SCANCEL
|
10
|
7890
|
2005-12-02
|
DE KEYSER
|
Null
|
11
|
7910
|
2005-11-04
|
SMITHS
|
Null
|
12
|
7890
|
2006-01-08
|
DE KEYSER
|
C
|
13
|
7890
|
2006-02-02
|
DE KEYSER
|
Null
|
14
|
8000
|
2006-04-05
|
TAVERNIER
|
C
|
15
|
7910
|
2006-01-08
|
ADAMSON
|
C
|
16
|
8500
|
2007-04-05
|
ADAMSON
|
Null
|
17
|
9000
|
2007-06-07
|
ADAMSON
|
Null
|
According to the previous table, which table will be the result of the query?
SELECT S_CID, MAX(SDATE)
FROM SESSIONS
GROUP BY S_CID
HAVING COUNT(S_CID) > 2