
Sudheer Quiz2
Authored by Sudheer Mamidi
Professional Development
University
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
22 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Select the Syntax to be written in like statement for extracting strings that start with r and end with r
r%%r
rr%
%r%
r%r
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
You want to retrieve all employees, whether or not they have matching departments in the departments table. Which query would you use?
SELECT last_name, department_nameFROM employees e INNER JOIN departments d ON (e.department_id = d.department_id)
SELECT last_name, department_nameFROM employees e LEFT JOIN departments d ON (e.department_id = d.department_id);
SELECT last_name, department_nameFROM employees e RIGHT JOIN departments d ON (e.department_id = d.department_id);
NA
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
In what order does SQL process the instructions
SELECT - FROM - WHERE - ORDER BY
SELECT - Where- From - ORDER BY
SELECT - FROM - ORDER By - WHERE
None
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which join would you use to create a query that returns ALL unique levels from Table B in below syntax
Table A ----- join Table B ?
Left
Inner
Right
None
5.
FILL IN THE BLANK QUESTION
2 mins • 1 pt
If table A has 3 rows & table B has 3 rows. What is the maximum no of rows possible when A is left joined with B
6.
FILL IN THE BLANK QUESTION
1 min • 1 pt
If table A has 3 rows & table B has 3 rows. What is the minimum no of rows possible when A is left joined with B
7.
FILL IN THE BLANK QUESTION
1 min • 1 pt
A colulmn named 'city' from table 'orders_info' has 4 unique levels. How many rows will be there in output - select city, count(orders) from orders_info group by city ;
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?