Explore BrainMass

Explore BrainMass


    SQL's roots stretch as far back as the early 1970s when IBM needed a language to manipulate their internal databases. In those first days, it was known as SEQUEL, Structured English Query Language, but this acronym was later shortened by dropping the 'English' to SQL. From this relational algebra- and tuple relational calculus-based language, SQL was picked up by various groups and went through many revisions until it resembled the most popular relational database management language we know today.

    SQL was one of the first commercial languages to rise to the challenge of implementing the ideas in Edgar F. Codd's relations model of a database, though there was some divergence between that model and the actual possible implementations of SQL. Still, it was described in Codd's influential 1970 paper “A relational Model of Data for Large Shared Data Banks”1. It will be no surprise then that SQL was adopted by the American National Standards Institute in 1986 and by the International Organization for Standards just one year later2. SQL has not rested easy in its place, however; it has been enhanced with extra features in the years since. Some of the extensions added by different SQL vendors may interfere with the standard, however, causing some vendor lock-in and a drop in portability so one must be alert as to which flavor of SQL they are using.

    Using its data definition and data manipulation subsets, SQL can deal with a vast range of desired database tasks. Data insertion, querying, updating and deletion, schema creation and modification, and data access control are all vital tasks that SQL handles efficiently and elegantly. Querying is perhaps the most common operation performed from that use and is done via declarative SELECT statements. These simple statements provide powerful functionality, allowing one to retrieve data with specific search parameters (including regular expressions) from one or more tables, or a joined version of one or more tables. Fortunately, SELECT statements in their standard form do no enforce any persistent effects on the database itself, though some non-standard versions can. Despite including some procedural elements, SQL is often counted among the declarative languages.

    More recently, SQL also served as a basis for the most popular open-source relational database management systems3 that enjoy wide use in web applications - MySQL and SQLite.



    1.  Codd, Edgar F (June 1970). "A Relational Model of Data for Large SHared Data Banks". Communications of the ACM (Association for Computing Machinery) 13 (6): 377–87. doi: 10.1145/362384.362685. Retrieved 2013-07-22.

    2. "ISO/IEC 9075-1:2008: Information technology - Database languages - SQL - Part 1: Framework (SQL/Framework)". 

    3. "DB-Engines Ranking". Retrieved 29 July 2013.

    © BrainMass Inc. brainmass.com April 22, 2024, 11:34 pm ad1c9bdddf

    BrainMass Solutions Available for Instant Download

    Access SQL queries

    sing the Microsoft Access database Teresa'sTrees, write SQL statements for the given tasks. Once complete, copy the SQL statements from Microsoft Access and paste them in a Microsoft Word document that will be submitted along with part II of the assignment. Write an SQL statement: To display all the information from the Cu

    Computer: SQL Data Table


    SQL Query Statements

    Query1 Write a SQL statement to display Students' First and Last Name. Query2 Write a SQL statement to display the Major of students with no duplications. Do not display student names. Query3 Write a SQL statement to display the First and Last Name of students who live in the Zip code 88888. Query4 Write a SQL statement to di

    Database and Database Manipulation Language

    In this case assignment, you will write the SQL statement to work on the community library database. Following are the tasks you are required to perform: 1. Populate data to the tables in your database 2. Retrieve the contact details of library customers 3. Retrieve the contact details of library customers who live in cer

    Database and SQL Database Manipulation Language

    For the Trident University Student database, generate reports that specified in module 2 SLP. 1. Students who live in California 2. Student who live outside California 3. Name of students who take ITM440 course 4. Name of students who live in California and take ITM440 course 5. Student names, courses they have taken,

    Forms and Reports

    A. Create a report for each of the following requirements. Reports may be created using the wizard or an SQL query. Reports should follow the formatting guidelines given in the next step. Reports should be named as indicated below (e.g., Report1, Report2, etc.). Report1: Show Instructor information (Instructor_ID, First_Name

    Writing SQL Statements

    1. List the name, city, state, and phone number of each customer not located in Washington (state). Organize the list alphabetized by state and city within each state. Within each city, order the customer names alphabetically with last name followed by first name. 2. List the names of the vendors who supply at least one of the

    SQL Query: Student Information

    Query1 Write a SQL statement to display Students' First and Last Name. Query2 Write a SQL statement to display the Major of students with no duplications. Do not display student names. Query3 Write a SQL statement to display the First and Last Name of students who live in the Zip code 88888. Query4 Write a SQL statem

    SQL Statement

    a. You have been asked to write a SQL statement that will delete ConsumerID 45678. b. Save your SQL query as SQLQuery1D1 and execute the statement. c. Create an SQL statement that will delete all records that are from the state of California or Texas. d. Save your SQL query as SQLQuery1D2 and execute the statement. e. Make a

    Entity Frame Query

    I have 4 values from table c. I want to insert them into tables a,b,c,d. Using entity queries, these tables have relations such as a.i = b.i, c.e = d.e, b.f = c.f. How do I do that through entity queries?

    Operational vs Dimensional Databases, and XML.

    1. What are the differences between the characteristics of an operational database and a dimensional database? 2. What is XML, and why is it useful? 3. What is an XML Schema document? 4. How can XML be used with a DBMS?

    Programming SQL Statements to Retrieve Data from a Database

    Please Complete in Script. Write SQL statements that will retrieve the following data from a database, using Subqueries and Joins. Using the Northwind database, write a SQL SELECT statement that will retrieve the data for the following questions: 1. For each order, display the Company Name, City, and the Country for the

    Provide scripts that simulate the activity required by the assignment.

    Part 1. The professor states: "I have modified the assignment this semester to allow you all to either: Bypass the Oracle Database requirement and only provide scripts that simulate the activity required by the assignment. Hopefully this will eliminate the frustration typically encountered with trying to gain access t

    Trigger - Update item price in SQL server 2008

    Trigger - Update item price in SQL server 2008 I need to create a trigger that will update only the price column for all 20 items in the table with its new price and this need to be executed all at one time. The table name is: dbo.ITEM, column name is : price I have provided a screen shot of the table.

    Creating Tables Using SQL Server

    Complete the following tasks: 1. Download and install SQL Server 2008, Express Edition. o Refer to Appendix A of the textbook. 2. Open and run the attached script to create the Northwind database. o To download the script, click here. 3. Create the following tables in the Northwind database: o Regions table Column N

    Providing scripts without using Oracle

    I do not understand how to provide scripts that would build tables, insert data and query data from tables. Please get me started with this and I will add the data if someone can get me in the right direction. Our instruction states, "Bypass the Oracle Database requirement and only provide scripts that simulate the activity req

    SQL Statement for Retrieving Data

    Please provide the answer in the order that need to run the script without an error. Using the Northwind database, write a SQL SELECT statement that will retrieve the data for the following questions: ** Please refer to attachment for the full question description **

    Database Systems SQL Statement Examples

    Write 2 SQL statements a piece (SELECT INSERT, UPDATE,DELETE) based upon database tables of your choice (i.e. customers, orders, vendors etc). In total, there would be 8 SQL statements (2 for each of the commands (SELECT, INSERT, UPDATE, DELETE). Please show the WHERE clause in a few of them to demostrate the filtering of the re

    Relational databases

    We are operating on relational databases. Databases are classified according to their function (i.e. what they do) and they are classified according to their structure (i.e. the way they save and organize the data). What other kinds of databases exist? Why have relational databases replaced the other types of databases?

    SQL Example Database Design

    3. An indexed file for the inventory data on disk and its index table are as follows: Disk file Disk Address Record Key Item Name Quantity Price 43 130 Pen 300 $4 20 12 Paper 200 $5 05 23 Disk

    Writing a Query to Find the Second Highest Income: Example

    Write a query to find the second highest income/salary. Table: Income Emp_id Emp_name Dept Salary 1 Anthony Gonzales Finance 100,000 2 Timothy Dalton IT 94,000 3 Maria D'souza Msci 79,000 4 Monica Lee Clent Services 150,000 5 Umesh Shah Engg 125,000 6 John Reginald AppDev 73,000

    Front-end application choice for SQL Server.

    Conceivably, there are three choices for a front-end application to your SQL Server database solution. This includes a compiled binary executable that is stored on the client computer, a web-based user interface, or a Microsoft Access project. Given the strategic objectives of CCI, which is the best option in your opinion and wh

    SQL Statements for Order Processing Database

    See the attached file. One of your team members are a little rusty on their SQL skills, but needed to create the SQL Select statements that would produce running summary files for reports on the following: Customer volume by month CustomerID, Month, Total shipments, Total weight Driver performance by month Driver ID, Mo

    Explicit SQL Statement

    Given the attached tables (see attachment): 1- Provide an explicit JOIN SQL statement that returns the store ID, store name, manager employee first and last name fields, manager employee grade, the city and state fields of the store. Only unique rows should be returned. Note that the 4th field in the Employee table is the em

    Write SQL queries using Between, Like and Union.

    Using the example databases and tables below, write SQL queries using Between, Like and Union. - Write a SQL query that joins two tables in the example database and uses BETWEEN to restrict record selection. (Use salary to restrict the data.) - Write a SQL query that joins two tables in the example database and uses BETWEEN

    Write a SQL query that returns the names of the students

    Write a SQL query that returns the names of the students (lname, fname), and the major of the major with most students. If more than one major is tied for most students, then list all the names of the students from both majors (as well as the majors). Order the results by major (in the case of a tie) and then alphabetically by

    Database Design for Fernando

    Fernando Culebra has always been fascinated by skateboards. Fernando has won several contests, both locally and nationally. His interest in skateboards led him to open Fernando's Skate Shop in Denton, Maine. Fernando sells street, trick, and children's skateboards. The store has only been open for a couple of months, yet sales h

    SQL queries several requirements such as finding the last names


    Write SQL queries to answer the following questions

    Kindly refer to the "CREATE TABLE" commands given at the end to answer the following questions. (1a) Did the SQL programmer enforce the constraint that every doctor practices in a unique hospital? If so, how? If not, how do you know, and how, if at all, could this constraint have been implemented? (1b) Did the SQL programmer

    Keeping Info about students and tutors

    Where do you think information about students and tutors such as name, address, phone and e-mail should be kept? Write the necessary SQL commands to be able to capture this information. Please refer to the attached image for more information related to the question.