GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Quiz

SQL Quiz

Chris Cronin 15 Fragen

Quiz starten

Dieses Quiz hat ein Zeitlimit und öffnet sich deshalb im gewohnten Player.

Fragen in diesem Quiz (15)

  1. 1The SQL select statement is used to select data from tables. Which of the following is the correct syntax of retrieving all records from all columns in a table called employees?
    1. AA) employees.select(all)
    2. BB) set select = employees
    3. CC) SELECT * FROM employees
  2. 2If I am concerned about the particular order in which the results from a select statement are returned, which keywords should I use to achieve this?
    1. AA) ORDER BY
    2. BB) SORT BY
    3. CC) ARRANGE BY
  3. 3I need to retrieve related data from more than one table. Which of these would be required to link the tables when I perform a select operation?
    1. AA) JOIN
    2. BB) CONNECT
    3. CC) MERGE
  4. 4I have the data and now I need to make a table to store my data. What SQL statement would I use for this?
    1. AA) SELECT statement
    2. BB) CREATE statement
    3. CC) MAKE statement
  5. 5How can you populate a database table with data using SQL?
    1. AA) By using an INSERT statement
    2. BB) By using a SELECT
    3. CC) By using an ADD statement
  6. 6I just discovered my table needs an additional column, what should I do to make this change?
    1. AA) Delete your table and recreate it
    2. BB) There is nothing you can do
    3. CC) Use the ALTER TABLE statement
  7. 7Now that my data is corrupted I want to remove it all from the table. What should I do?
    1. AA) use CLEAN
    2. BB) use SELECT EMPTY
    3. CC) use TRUNCATE
  8. 8How about if I just want to delete the table, what should I do?
    1. AA) You cannot delete tables
    2. BB) Use the DROP TABLE statement
    3. CC) Use the DELETE statement
  9. 9How do I set a certain criteria when selecting data from my table?
    1. AA) Use FILTER keyword
    2. BB) Use the CRITERIA keyword
    3. CC) Use the WHERE clause
  10. 10Sometimes it may be difficult to test whether a column is void of data or has some non printable data. Visually they look the same, how can I verify this using SQL?
    1. AA) Use IS NULL or IS NOT NULL clauses
    2. BB) Use = ''
    3. CC) There is no such thing as empty space in a table

Informationen

Beschreibung
This is quick quiz to test the basics of SQL
Sprache
English
Aufrufe
226
Bewertung
Noch keine Bewertungen
Bewerte dieses Quiz
Bewerte dieses Quiz

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck