Professional Documents
Culture Documents
Basic SQL Quiz Online Test1
Basic SQL Quiz Online Test1
Basic SQL Quiz Online Test1
Number of Questions: 18
1.
Hide answer
Correct Option: C
2.
A GET
B OPEN
C EXTRACT
✓ D SELECT
E QUERY
Hide answer
Correct Option: D
3.
✓ A UPDATE
B SAVE AS
C MODIFY
D SAVE
Hide answer
Correct Option: A
https://www.aliensbrain.com/quiz/127/basic-sql-quiz 1/6
1/18/23, 10:44 AM Basic SQL Quiz Online Test
4.
Ads by
Seen this ad Not interested Ad was
Which SQL statement is used to delete data from amultiple
database?
times in this ad inappropriate
Stop seeing this ad Why this ad?
(/question/1159/which-sql-statement-is-used-to-delete-data-from-a-database)
Attempted 18/18 Correct 0 Score 0
Start the Quiz (/q
sql (/tag/40/sql/question)
‹ 1 2
A 3 TRUNCATE
4 5 6 7 8 9 10 11 12 1 ›
Share
✓ B DELETE (https://www.facebook.com/di
ADVERTISEMENT
app_id=1829093160660942&d
C REMOVE sql-
quiz&redirect_uri=https://alien
sql-quiz)
Hide answer
Correct Option: B
5.
A ADD RECORD
B ADD INTO
✓ C INSERT
D ADD NEW
Hide answer
Correct Option: C
6.
With SQL, how do you select a column named "FirstName" from a table named "Persons"?
(/question/1161/with-sql-how-do-you-select-a-column-named-firstname-from-a-t)
sql (/tag/40/sql/question)
C SELECT Persons.FirstName
Hide answer
Correct Option: B
7.
With SQL, how do you select all the columns from a table named "Persons"?
(/question/1162/with-sql-how-do-you-select-all-the-columns-from-a-table-name)
sql (/tag/40/sql/question)
C SELECT *.Persons
Hide answer
Correct Option: D
8.
With SQL, how do you select all the records from a table named "Persons" where the value of the column "FirstName" is "Peter"?
(/question/1163/with-sql-how-do-you-select-all-the-records-from-a-table-name)
sql (/tag/40/sql/question)
https://www.aliensbrain.com/quiz/127/basic-sql-quiz 2/6
1/18/23, 10:44 AM Basic SQL Quiz Online Test
Hide answer
Correct Option: D
‹ 1 With
2 3 SQL,
4 5how
6 do
7 you
8 9 select
10 11all the
12 1 ›
records from a table named "Persons" where the value of the column "FirstName" starts with
Share
an "a"?
(https://www.facebook.com/di
(/question/1164/with-sql-how-do-you-select-all-the-records-from-a-table-name) ADVERTISEMENT
app_id=1829093160660942&d
sql (/tag/40/sql/question) sql-
quiz&redirect_uri=https://alien
A SELECT * FROM Persons WHERE FirstName='%a%' sql-quiz)
Hide answer
Correct Option: D
10. The OR operator displays a record if ANY conditions listed are true. The AND operator displays a record if ALL of the conditions
listed are true
sql (/tag/40/sql/question)
✓ A True
B False
Hide answer
Correct Option: A
11.
Given an employees table as follows: empid name managerid a1 bob NULL b1 jim a1 B2 tom a1 What value will select count(*) from
employees return?
(/question/1176/given-an-employees-table-as-follows-empid-name-managerid-a1-)
sql (/tag/40/sql/question)
A 1
B 2
✓ C 3
Hide answer
Correct Option: C
12.
✓ A True
B False
Hide answer
Correct Option: A
13. Sometimes the expression "select count(*)" will return fewer rows than the expression "select count(value)".
sql (/tag/40/sql/question)
A True
✓ B False
Hide answer
https://www.aliensbrain.com/quiz/127/basic-sql-quiz 3/6
1/18/23, 10:44 AM Basic SQL Quiz Online Test
Correct Option: B
14.
Attempted 18/18 Correct 0 Score 0
Start the Quiz (/q
What type of lock will deny users any access to a table?
‹ 1 2 3 4 5 6 7 8 9 10 11 12 1 ›
(/question/1179/what-type-of-lock-will-deny-users-any-access-to-a-table) Share
sql (/tag/40/sql/question) (https://www.facebook.com/di
ADVERTISEMENT
app_id=1829093160660942&d
A EXPLICIT sql-
B IMPLICIT quiz&redirect_uri=https://alien
sql-quiz)
✓ C EXCLUSIVE
D SHARED
E READ ONLY
Hide answer
Correct Option: C
15. Which of the following is the correct SQL statement to use to remove rows from a table?
sql (/tag/40/sql/question)
A DROP
B REMOVE ROW
✓ C DELETE
D DELETE ROW
Hide answer
Correct Option: C
16. The only way to join two tables is by using standard, ANSI syntax.
sql (/tag/40/sql/question)
A True
✓ B False
Hide answer
Correct Option: B
A True
✓ B False
Hide answer
Correct Option: B
18.
The left outer join is one type of outer join. Another one is the.
(/question/1183/the-left-outer-join-is-one-type-of-outer-join-another-one-is)
https://www.aliensbrain.com/quiz/127/basic-sql-quiz 4/6
1/18/23, 10:44 AM Basic SQL Quiz Online Test
sql (/tag/40/sql/question)
A right
full
AttemptedB 18/18 Correct 0 Score 0
Start the Quiz (/q
C right outer
‹ 1 2D 3 full
4 outer
5 6 7 8 9 10 11 12 1 ›
Share
✓ E all of the above (https://www.facebook.com/di
ADVERTISEMENT
app_id=1829093160660942&d
sql-
quiz&redirect_uri=https://alien
Hide answer
sql-quiz)
Correct Option: E
- Hide questions
Add a comment...
technology (/tag/268/technology/quiz)
sports (/tag/437/sports/quiz)
history (/tag/438/history/quiz)
physics (/tag/4456/physics/quiz)
biology (/tag/2585/biology/quiz)
chemistry (/tag/5915/chemistry/quiz)
maths (/tag/15085/maths/quiz)
softskills (/tag/449/softskills/quiz)
© Aliensbrain | all rights reserved About (/about) Contact (/contact) Terms and Condition (/termsandcondition) Privacy Policy (/privacypolicy)
https://www.aliensbrain.com/quiz/127/basic-sql-quiz 5/6
1/18/23, 10:44 AM Basic SQL Quiz Online Test
‹ 1 2 3 4 5 6 7 8 9 10 11 12 1 ›
Share
(https://www.facebook.com/di
ADVERTISEMENT
app_id=1829093160660942&d
sql-
quiz&redirect_uri=https://alien
sql-quiz)
https://www.aliensbrain.com/quiz/127/basic-sql-quiz 6/6