Login
Register
Dark Mode
Brightness
Ambient Glow – Questions list
Register
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged sql
114
114 votes
5
answers
5 answers
39.5k
39.5k views
GATE CSE 2014 | Set 1 | Question: 22
Given the following statements: S1: A foreign key declaration can always be replaced by an equivalent check assertion in SQL. S2: Given the table $R(a,b,c)$ where $a$ an...
go_editor
39.5k
views
asked
Sep 26, 2014
Databases
gatecse-2014-set1
databases
normal
sql
+
–
32
32 votes
9
answers
9 answers
10.5k
10.5k views
GATE CSE 1998 | Question: 7-a
Suppose we have a database consisting of the following three relations.$\text{FREQUENTS (student, parlor)}$ giving the parlors each student visits.$\text{SERVES (parlor, ...
Kathleen
10.5k
views
asked
Sep 26, 2014
Databases
gate1998
databases
sql
descriptive
+
–
71
71 votes
3
answers
3 answers
23.4k
23.4k views
GATE CSE 2013 | Question: 35
Consider the following relational schema.Students(rollno: integer, sname: string)Courses(courseno: integer, cname: string)Registration(rollno: integer, courseno: integer,...
Arjun
23.4k
views
asked
Sep 24, 2014
Databases
gatecse-2013
databases
sql
relational-calculus
normal
+
–
27
27 votes
5
answers
5 answers
17.8k
17.8k views
GATE CSE 1999 | Question: 22-a
Consider the set of relationsEMP (Employee-no. Dept-no, Employee-name, Salary)DEPT (Dept-no. Dept-name, Location)Write an SQL query to:Find all employees names who work i...
Kathleen
17.8k
views
asked
Sep 23, 2014
Databases
gate1999
databases
sql
easy
descriptive
+
–
54
54 votes
5
answers
5 answers
29.2k
29.2k views
GATE CSE 1999 | Question: 2.25
Which of the following is/are correct?An SQL query automatically eliminates duplicatesAn SQL query will not work if there are no indexes on the relationsSQL permits attri...
Kathleen
29.2k
views
asked
Sep 23, 2014
Databases
gate1999
databases
sql
easy
+
–
110
110 votes
6
answers
6 answers
44.2k
44.2k views
GATE CSE 2005 | Question: 77, ISRO2016-55
The relation book (title, price) contains the titles and prices of different books. Assuming that no two books have the same price, what does the following SQL query list...
Kathleen
44.2k
views
asked
Sep 22, 2014
Databases
gatecse-2005
databases
sql
easy
isro2016
+
–
111
111 votes
13
answers
13 answers
58.3k
58.3k views
GATE CSE 2009 | Question: 55
Consider the following relational schema:$\text{Suppliers}(\underline{\text{sid:integer}},\text{ sname:string, city:string, street:string})$ $\text{Parts}(\underline{\tex...
Kathleen
58.3k
views
asked
Sep 22, 2014
Databases
gatecse-2009
databases
sql
normal
+
–
112
112 votes
7
answers
7 answers
44.0k
44.0k views
GATE CSE 2007 | Question: 61
Consider the table employee(empId, name, department, salary) and the two queries $Q_1, \, Q_2$ below. Assuming that department $5$ has more than one employee, and we want...
Kathleen
44.0k
views
asked
Sep 21, 2014
Databases
gatecse-2007
databases
sql
normal
verbal-aptitude
+
–
57
57 votes
4
answers
4 answers
18.5k
18.5k views
GATE CSE 2004 | Question: 53
The employee information in a company is stored in the relationEmployee (name, sex, salary, deptName)Consider the following SQL querySelect deptName From Employee Where s...
Kathleen
18.5k
views
asked
Sep 18, 2014
Databases
gatecse-2004
databases
sql
normal
+
–
66
66 votes
7
answers
7 answers
25.0k
25.0k views
GATE CSE 2003 | Question: 86
Consider the set of relations shown below and the SQL query that follows.Students: (Roll_number, Name, Date_of_birth)Courses: (Course_number, Course_name, Instructor)Grad...
Kathleen
25.0k
views
asked
Sep 17, 2014
Databases
gatecse-2003
databases
sql
easy
+
–
47
47 votes
8
8 answers
11.6k
11.6k views
GATE CSE 2002 | Question: 15
A university placement center maintains a relational database of companies that interview students on campus and make job offers to those successful in the interview. The...
Kathleen
11.6k
views
asked
Sep 15, 2014
Databases
gatecse-2002
databases
normal
descriptive
relational-algebra
sql
+
–
86
86 votes
9
answers
9 answers
21.5k
21.5k views
GATE CSE 2001 | Question: 2.25
Consider a relation geq which represents "greater than or equal to", that is, $(x,y) \in $ geq only if $y \geq x$.create table geq ( ib integer not null, ub integer not n...
Kathleen
21.5k
views
asked
Sep 14, 2014
Databases
gatecse-2001
databases
sql
normal
+
–
14
14 votes
2
2 answers
4.5k
4.5k views
GATE CSE 2000 | Question: 22
Consider a bank database with only one relation transaction (transno, acctno, date, amount)The amount attribute value is positive for deposits and negative for withdrawa...
Kathleen
4.5k
views
asked
Sep 14, 2014
Databases
gatecse-2000
databases
sql
normal
descriptive
+
–
89
89 votes
9
answers
9 answers
29.1k
29.1k views
GATE CSE 2000 | Question: 2.26
In SQL, relations can contain null values, and comparisons with null values are treated as unknown. Suppose all comparisons with a null value are treated as false. Which ...
Kathleen
29.1k
views
asked
Sep 14, 2014
Databases
gatecse-2000
databases
sql
normal
+
–
83
83 votes
5
answers
5 answers
26.2k
26.2k views
GATE CSE 2000 | Question: 2.25
Given relations r(w, x) and s(y, z) the result ofselect distinct w, x from r, s is guaranteed to be same as r, provided.r has no duplicates and s is non-emptyr and s have...
Kathleen
26.2k
views
asked
Sep 14, 2014
Databases
gatecse-2000
databases
sql
+
–
32
32 votes
6
answers
6 answers
6.4k
6.4k views
GATE CSE 1991 | Question: 12-a
Suppose a database consist of the following relations:SUPPLIER (SCODE,SNAME,CITY). PART (PCODE,PNAME,PDESC,CITY). PROJECTS (PRCODE,PRNAME,PRCITY). SPPR (SCODE,PCODE,PRCOD...
Kathleen
6.4k
views
asked
Sep 12, 2014
Databases
gate1991
databases
sql
normal
descriptive
+
–
92
92 votes
8
answers
8 answers
58.4k
58.4k views
GATE CSE 2012 | Question: 15
Which of the following statements are TRUE about an SQL query?P : An SQL query can contain a HAVING clause even if it does not have a GROUP BY clauseQ : An SQL query can ...
gatecse
58.4k
views
asked
Aug 5, 2014
Databases
gatecse-2012
databases
easy
sql
ambiguous
+
–
Page:
« prev
1
...
16
17
18
19
20
21