• 1. 
    What is the purpose of *?

  • Selects ALL fields from the table
  • Selects only the first field in the table
  • Selects the last field in the table
  • Shows only the first row in the table
  • 2. 
    Less than or equal to?

  • >=
  • =>
  • =<
  • <=
  • 3. 
    If you don’t specify ASC or DESC after a SQL ORDER BY clause, the following is used by default

  • ASC
  • DESC
  • There is no default value
  • None of the mentioned
  • 4. 
    Which statement is used to extract data from a database?

  • Extract
  • Get
  • Open
  • Select
  • 5. 
    With SQL, how can you insert a new record into the "Persons" table?

  • INSERT INTO Persons VALUES ('Jimmy', 'Jackson')
  • INSERT ('Jimmy', 'Jackson') INTO Persons
  • INSERT VALUES ('Jimmy', 'Jackson') INTO Persons
  • INSERT VALUES ('Jimmy, Jackson') INTO Persons
  • INSERT ('Jimmy', 'Jackson') VALUES into Persons
  • 6. 
    What is a primary key?

  • A field
  • A record
  • Two fields
  • A unique reference
  • 7. 
    The rows in a database are called:

  • Records
  • Fields
  • Attribute
  • Coloum
  • 8. 
    SQL query to find all the cities whose humidity is 95.

  • SELECT city WHERE humidity = 95
  • SELECT city FROM weather WHERE humidity = 95
  • SELECT humidity = 89 FROM weather
  • SELECT city FROM weather
  • 9. 
    Which of the following SQL clauses is used to DELETE tuples from a database table?

  • DELETE
  • REMOVE
  • DROP
  • CLEAR
  • 10. 
    With SQL, how do you select all the records from a table named "Persons" where the value of the column "FirstName" is "Peter"?

  • SELECT [all] FROM Persons WHERE FirstName LIKE 'Peter'
  • SELECT * FROM Persons WHERE FirstName='Peter'
  • SELECT * FROM Persons WHERE FirstName<>'Peter'
  • SELECT * FROM Persons WHERE FirstName<>'Peter'
  • SELECT * FROM Persons WHERE FirstName=='Peter'
  • 11. 
    A relational database developer refers to a record as

  • Criteria
  • a relation
  • a tuple
  • an attribute
  • 12. 
    What is full form of SQL

  • Structured Query Language
  • Strong Question Language
  • Structured Question Language
  • Strong Query Language
  • Structure Query Language
  • 13. 
    Which word is missing from the following SQL statement?Select * table_name

  • With
  • Where
  • From
  • And
  • 14. 
    What is this following a definition of?Stores data/information in an organised way

  • Field
  • Database
  • Record
  • File/Table
Report Question
warning
access_time
  Time