COMPUTER SCIENCE AND ENGINEERING
SQL
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
select first ____ name, last name from students where (honours ____ subject = “English” or honours ____ subject = “Spanish” ) and percentage ____ of ____ marks > 80;
|
|
select first ____ name, last name from students where honours ____ subject = “English” or honours ____ subject = “Spanish” and percentage ____ of ____ marks > 80;
|
|
select first ____ name, last name from students where honours ____ subject = “English” and honours ____ subject = “Spanish” or percentage ____ of ____ marks > 80;
|
|
select * from students where honours ____ subject = “English” or honours ____ subject = “Spanish” and percentage ____ of ____ marks > 80;
|
Detailed explanation-1: -Which of the following query would display all the students whose first name starts with the character ‘A’? select first name from students where first name like ‘A%’;
Detailed explanation-2: -D-Indexes should ideally be created on small tables. Q 39-Which of the following code will create an index named stu marks ind on the columns student code and percentage of marks of the STUDENTS table? stu marks ind on the columns student code and percentage of marks of the STUDENTS table.
Detailed explanation-3: -Answer : A Q 16-Which of the following is not true about database synonyms? A-Synonyms are used for shortening lengthy object names.
Detailed explanation-4: -The correct answer is Select, where, group by, having.