levo

SQL, Big Data and Distributed Systems

Query languages and the purpose of SQL

  • 3 things to know
  • Component 2

Overview

Query language, why SQL is described as a declarative language and two broad kinds of task SQL commands perform.

What you need to know

Answer each one before you reveal it.

Your recallNot started
Key term

What is a query language?

Key term

Give two reasons a database is queried through a query language rather than through general-purpose program code.

Key term

What does SQL stand for?

Questions from this subtopic

Each one with the model answer underneath.

  1. 1

    What is a query language?

    Model answer

    A query language is a special-purpose language for retrieving and changing the data held in a database. The user states what is wanted rather than how to find it.

  2. 2

    Give two reasons a database is queried through a query language rather than through general-purpose program code.

    Model answer

    A query language lets a user ask for data without writing any file-handling code. The same query also runs on any database system that supports the standard.

  3. 3

    What does SQL stand for?

    Model answer

    SQL stands for Structured Query Language.

  4. 4

    Explain why SQL is described as a declarative language.

    Model answer

    SQL states the result required and leaves the database system to decide how to obtain it. The programmer never codes the search algorithm.

  5. 5

    Name the two broad kinds of task SQL commands perform.

    Model answer

    SQL commands define the structure of tables. SQL commands also manipulate the rows of data held inside those tables.

  6. 6

    What is meant by a data definition command in SQL?

    Model answer

    A data definition command creates or alters the structure of a database object. CREATE TABLE is the clearest example.

Other ways to work this

The same content, four other ways.

What is inside Levo

Six ways to work the same material.

1Closed book
2Open book
3Closed book

The 3-step method, run for you

Answer cold, learn it, then prove it stuck. Levo tracks the jump between your first attempt and your last.

Data Structures: Arrays, Records and Hash Tables
Stacks, Queues, Linked Lists and Trees
Boolean Logic and Simplification
Algorithms, Pseudo-Code and Programming Constructs

Cram a whole paper in one sitting

Sort every topic into what you know and what you do not, then drill only the weak ones.

KDW to HAT.
decryptsencryptscompresses

Blank Blitz makes facts automatic

Rapid timed gap-fills on the terms and numbers you need to recall without thinking.

AThe two are not the same.
BOpen source refers to the availability of the code.
CMuch open source software is free of charge.

Build It gets the exam shape right

Assemble a full-mark answer from its marking points, in the order an examiner wants them.

Backup means the copy of the data.
TrueFalse

Test It catches misconceptions

Spot the fault in a statement. The traps are the mistakes students actually make.

721941163128510

Brain Breaks between sessions

Short focus games to reset attention, so the next set lands better than the last.

Every question in SQL, Big Data and Distributed Systems, on a schedule.

Attempt a question from memory, write the correct version, then attempt it again. Levo records the jump between your first attempt and your last, and brings each question back on the day you are due to forget it.

Or £46 a year, about £3.83 a month. Cancel anytime.