A Guide to SQL
A Guide to SQL
9th Edition
ISBN: 9781111527273
Author: Philip J. Pratt
Publisher: Course Technology Ptr
bartleby

Concept explainers

Question
Book Icon
Chapter 4, Problem 1RQ
Program Plan Intro

SQL:

  • SQL means Structured Query Language.
  • It allows user to access and manipulate databases.
  • It is a language used to create database applications that necessity to query relational databases.
  • This language is used for following ways,
    • Add data to a database.
    • Modify present data in the database.
    • Remove data from the database.

Expert Solution & Answer
Check Mark

Explanation of Solution

Basic form of the SQL SELECT command:

The basic form of the SQL SELECT command is given below:

Basic form: SELECT-FROM-WHERE

Explanation:

  • The SQL SELECT command is used to retrieve given values in a database.
  • From the given basic form,
    • After user type the word “SELECT”, user list the columns that they want to include in the query results.
    • Next, user type the word “FROM” followed by table name that have the data user need to query.
    • Finally, user can list conditions that apply to the data they want to retrieve after the word “WHERE”.

Example:

The example for the SQL SELECT command is given below:

SELECT * FROM Students WHERE Subject = 'Mathematics';

The above query is used to selects all the students from the subject “Mathematics” in the “Students” table.

Want to see more full solutions like this?

Subscribe now to access step-by-step solutions to millions of textbook problems written by subject matter experts!

Chapter 4 Solutions

A Guide to SQL

Knowledge Booster
Background pattern image
Computer Science
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Text book image
A Guide to SQL
Computer Science
ISBN:9781111527273
Author:Philip J. Pratt
Publisher:Course Technology Ptr
Text book image
Oracle 12c: SQL
Computer Science
ISBN:9781305251038
Author:Joan Casteel
Publisher:Cengage Learning
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781305627482
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781285196145
Author:Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Publisher:Cengage Learning