Structured Query Language

Description

A level Computing Mind Map on Structured Query Language, created by Matt Smith on 01/03/2017.
Matt Smith
Mind Map by Matt Smith, updated more than 1 year ago
Matt Smith
Created by Matt Smith about 7 years ago
67
2

Resource summary

Structured Query Language
  1. Syntax.
    1. Keyword are Not case sensitive.
      1. * = All.
        1. After each command a ';' is needed to show the end.
          1. This is not needed after each line.
          2. % = missing words.
          3. Select.
            1. Allows data to be selected from a Database.
              1. More than one selection can be made, all separated with a comma.
              2. Needs From statement to specify which database to select from.
              3. Distinct.
                1. Removes all of the Duplicates from a Selection.
                2. Where.
                  1. Allows Data to be Filtered. ie: only select records where country = 'Germany'.
                  2. And/Or.
                    1. And Allows Records to be selected based on two values. ie: where sex = male AND age = < 30.
                      1. Or allows data to be selected based on either of two values. ie: Sex = male OR Age = < 30.
                      2. Order By.
                        1. Allows a Database or selection to be ordered by a specific thing. ie: CustomerNames in descending order.
                        2. Insert Into.
                          1. Allows Data to be added to a database.
                          2. Update.
                            1. Allows date to be modified in a database.
                              1. Where statement needed to make sure all records are not modifies.
                              2. Delete.
                                1. Allows records to be deleted from a database.
                                  1. Needs Where statement to make sure not all records are deleted.
                                  2. From.
                                    1. Tells it what to do the operation on.
                                    2. Like.
                                      1. Allows a pattern to be searched for.
                                      2. Drop.
                                        1. Allows an entire database to be deleted.
                                        2. Join.
                                          1. Allows all data from two data bases to be joined together, if the columns match.
                                          Show full summary Hide full summary

                                          Similar

                                          A level Computing Quiz
                                          Zacchaeus Snape
                                          Types and Components of Computer Systems
                                          Jess Peason
                                          Input Devices
                                          Jess Peason
                                          Output Devices
                                          Jess Peason
                                          Computing
                                          Kwame Oteng-Adusei
                                          Pack of playing cards answer
                                          Karl Taylor
                                          Code Challenge Flow Chart
                                          Charlotte Hilton
                                          Computer science quiz
                                          Ryan Barton
                                          GCSE Computing - 4 - Representation of data in computer systems
                                          lilymate
                                          Data Structures & Algorithms
                                          Reuben Caruana
                                          GCSE Computing: Hardware
                                          Yasmin F