Beruflich Dokumente
Kultur Dokumente
1. To remove duplicate rows from the result set of a SELECT use the
following keyword:
a. NO DUPLICATE
b. UNIQUE
c. DISTINCT
d. DELETE DUPLICATE
3. In a LIKE clause, you can ask for any value ending in "qpt" by writing
a. LIKE %qpt
b. LIKE *qpt
c. LIKE $qpt
d. LIKE *apt$
4. Oracle is a
a. Programming Langauge
b. Web Designing Tool
c. RDBMS Software
d. Operating System
12.A _________ is a method used for linking two tables based on presence
of a common field found in both tables.
a. Linking
b. Testlink
c. Relationship
d. Connecting
19. With SQL, how do you select all the columns from a table named
"Persons"?
a. SELECT *.Persons
b. SELECT [all] FROM Persons
c. SELECT * FROM Persons
d. SELECT Persons
20. With SQL, how do you select all the records from a table named
"Persons" where the value of the column "FirstName" is "Peter"?
a. SELECT [all] FROM Persons WHERE FirstName='Peter'
b. SELECT [all] FROM Persons WHERE FirstName LIKE 'Peter'
c. SELECT * FROM Persons WHERE FirstName='Peter'
d. SELECT * FROM Persons WHERE FirstName<>'Peter'
22. With SQL, how can you insert a new record into the "Persons" table?
a. INSERT VALUES ('Jimmy', 'Jackson') INTO Persons
b. INSERT ('Jimmy', 'Jackson') INTO Persons
c. INSERT INTO Persons VALUES ('Jimmy', 'Jackson')
d. INSERT IN TO Persons VALUE ('Jimmy', 'Jackson')
23. How can you change "Hansen" into "Nilsen" in the "LastName" column in
the Persons table?
a. MODIFY Persons SET LastName='Nilsen' WHERE LastName='Hansen'
b. MODIFY Persons SET LastName='Hansen' INTO LastName='Nilsen
c. UPDATE Persons SET LastName='Hansen' INTO LastName='Nilsen'
d. UPDATE Persons SET LastName='Nilsen' WHERE LastName='Hansen'
24. With SQL, how can you delete the records where the "FirstName" is
"Peter" in the Persons Table?
a. DELETE FROM Persons WHERE FirstName = 'Peter'
b. DELETE ROW FirstName='Peter' FROM Persons
c. DELETE FirstName='Peter' FROM Persons
d. DELETE FROM Persons WHERE FirstName = Peter
25. With SQL, how can you return the number of records in the "Persons"
table?
a. SELECT COLUMNS(*) FROM Persons
b. SELECT COUNT(*) FROM Persons
c. SELECT COLUMNS() FROM Persons
d. SELECT COUNT() FROM Persons
32.A ________ contains rows and columns, just like a real table and data
from one or more real tables.
a. Database
b. View
c. Multiple Table
d. None of these
33.A ______ JOIN return all rows from multiple tables where the join
condition is met.
a. Outer
b. Inner
c. Multiple
d. Dual
34.A _________ can be created in a table to find data more quickly and
efficiently.
a. Primary Key
b. Counter
c. Index
d. Foreign Key
36.The ______ JOIN keyword returns all rows from the right table, with the
matching rows in the left table.
a. Right
b. Left
c. Inner Right
d. Inner Left
e.
37. SELECT * FROM Customers WHERE City LIKE '_erlin'; .This query returns
a. All customers with a City starting with any character, followed by "erlin":
b. All customers with a City starting with any number of characters, followed
by "erlin":
c. All customers with a City containing the pattern " erlin ":
d. Error
40. The Sub query is placed in the _______ clause of a Select statement
a. Where
b. IN
c. Like
d. Distinct
45. ________ ensures that the value in a column meets a specific condition.
a. Primary key constraint
b. Check constraint
c. Validation
d. Conditional Statement
46. ________ Command is used to add, modify and drop columns in table.
a. Update
b. Alter
c. Truncate
d. Manipulate
****