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

Quiz

MySQL 101-01

Chris Lee 15 Fragen

Quiz starten

Fragen in diesem Quiz (15)

  1. 1Which of the following is a correctly written SQL Insert statement?
    1. AINSERT table VALUES (value1, value2, value3);
    2. BINSERT INTO table VALUES (value1, value2, value3);
    3. CINSERT INTO database TABLE(table(schema));
    4. DINSERT TABLE INTO database table(schema);
  2. 2When writing DELETE statements, it is often a good idea to begin with a SELECT statement, to verify that your are targeting the correct data for deletion.
    1. ARichtig
    2. BFalsch
  3. 3C.R.U.D is an acronym for the four basic operations of a database system. What are they?
    1. ACreate, Retrieve, Upgrade, Delete
    2. BCollate, Retrieve, Update, Delete
    3. CCreate, Recall, Update, Delete
    4. DCreate, Retrieve, Update, Delete
    5. ECreate, Retrieve, Update, Destroy
  4. 4In SQL terminology, what does DML stand for?
    1. AData Modification Language
    2. BData Manipulation Language
    3. CDigital Manipulation Language
    4. DDigital Modification Language
  5. 5In SQL terminology, What does DDL Stand for?
    1. ADigital Definition Language
    2. BData Detention Language
    3. CDigital Determination Language
    4. DData Definition Language
  6. 6SQL code that can be categorized as DML is used primarily for:
    1. AAdding, querying, manipulating and deleting data from tables and data sets.
    2. BDefining tables, indexes, and data relationships.
    3. CStoring data in tables, indexes, and primary keys.
    4. DInserting data relationships into indexes, tables, and primary keys.
  7. 7SQL code that can be categorized as DDL is used primarily for:
    1. AInserting data relationships into indexes, tables, and primary keys.
    2. BAdding, querying, manipulating and deleting data from tables and data sets.
    3. CDefining tables, indexes, and data relationships.
    4. DStoring data in tables, indexes, and primary keys.
  8. 8Which answer most completely and correctly describes what this SQL statement will do?

    SELECT Name, LifeExpectancy AS 'Life Expectancy' FROM Country;
    1. AReturn all rows from the Name and LifeExpectancy columns in the country table.
    2. BReturn all rows from the Name and LifeExpectancy columns in the country table, renaming the column header displaying the LifeExpectancy column's results to 'Life Expectancy'.
    3. CReturn all rows from the Name and LifeExpectancy columns in the country table where the phrase 'Life Expectancy' is found in the name column.
    4. DThis statement is incorrectly written. It will produce an error.
  9. 9Which answer most completely and correctly describes what the following SQL statement will do?

    SELECT "Hi, my name is Jimmy.";
    1. AThis statement is not valid, it will return an error.
    2. BThis will return a single row with the value "Hi, my name is Jimmy.".
    3. CThis will return a single row with the header <String> and the value "Hi, my name is Jimmy.".
    4. DThis will return the value "Hi, my name is Jimmy." in a column with the header name "Hi, my name is Jimmy."
  10. 10Which answer most completely and correctly describes what the following SQL statement will do?

    SELECT FROM inventory WHERE item_desc like '%shoe%';
    1. AThis will return all rows from the customer table where the item_desc column contains the sub-string 'shoe'.
    2. BThis statement is written incorrectly, it will return an error.
    3. CThis will return all rows from the customer table where the item_desc column begins with the sub-string 'shoe'.
    4. DThis will return all rows from the customer table where the item_desc column ends with the sub-string 'shoe'.

Informationen

Beschreibung
A general Quiz on some basic SQL knowledge, focusing on general SQL and some MySQL specific questions.
Sprache
English
Aufrufe
59
Schlagwörter
sql mysqlsql
Bewertung
Noch keine Bewertungen
Bewerte dieses Quiz
Bewerte dieses Quiz

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck