Write sql query to select students having gpa greater than 3

Assignment Help Database Management System
Reference no: EM13895136

Perform the following operations using SQL.

1. Create a Database ('fdb') using any one from Oracle, Sybase, DB-2, SQL Server or MySQL.

2. Create the following tables and fill them with the data.

Table Name: student

id name birth gpa grad
1 Anderson 10/22/1987 3.9 2009
2 jones 4/16/1990 2.4 2010
3 Hernandez 8/12/1989 3.1 2011
4 Chen 2/4/1990 3.2 2011

Table Name: courses

id number name quarter
1 CS142 CP II Winter 2015
2 ART101 Finger painting Fall 2014
3 ART101 Finger painting Winter 2015
4 PE204 Mud wreatling Winter 2015

Create a join table course_students describing which student took which courses.

course_id student_id
1 1
3 1
4 1
1 2
2 2
1 3
2 4
4 4

3. Write SQL query to select students having GPA greater than 3 and the result should be sorted according to name.

4. Update student's (Jones) GPA to 2.5.

5. Find all students who took a CS142 course.

6. Delete record of student named "Jones".

7. Add one column ("degree") to students table.

8. Delete table courses_ students.

Reference no: EM13895136

Questions Cloud

Pan-hellenic empire by athens : The Persian wars and the formation of Delian League transformed Athens into a powerful nation. The members of the league were about 200 in number contributed money, ships, and men into the common pool.
Elemental iodine (i2) is a solid at room temperature : Elemental iodine (I2) is a solid at room temperature. What is the major attractive force that exists among different I2 molecules in the solid?
How might managers ensure their bidding procedure is fair : With regard to the case, Coral Construction, Inc v. San Francisco, without using preferential bidding, how might managers ensure that their bidding procedure is fair to all businesses, including those that may be suffering the effects of past disc..
Calculate the effect on profits of processing product : What should Elm do if it wants to maximize its profit for the period and calculate the effect on profits of processing Product A further beyond the split-off point - Calculate the effect on profits of processing Product D further beyond the split-off..
Write sql query to select students having gpa greater than 3 : Perform the following operations using SQL. Create a Database ('fdb') using any one from Oracle, Sybase, DB-2, SQL Server or MySQL. Write SQL query to select students having GPA greater than 3 and the result should be sorted according to name
Nacl dissolves in water, aqueous na+ and cl- ions result : When NaCl dissolves in water, aqueous Na+ and Cl- ions result. The force of attraction that exists between Na+ and H2O is called ____ interaction.
What is the firm s average tax rate? : what is the firm s average tax rate?
Can people increase their collaboration skills : Eexplain why it is an important skill for business professionals. Describe what is working with regards to your group's process and what is not working. Can people increase their collaboration skills? If so, how? If not, why not?
Different kinds of separations in gc chromatography : What are the different kinds of separations in GC chromatography?

Reviews

Write a Review

Database Management System Questions & Answers

  Develop a data model for the drip drip water company

You have been asked to develop a data model for the Drip Drip Water Company (DDWC). DDWC is the sole supplier of water to the citizens and businesses of the town of Drip Drip.

  Please write down the sql statements to answer the given

please write sql statements to answer the following questions. your tables should still be on the oracle server. please

  Why is a key important in a database

Why is a Key important in a database? How does it help with Referential Integrity? Lists three compelling reasons why Keys are crucial to table structure

  Describe information using table

Describe the information seen, using the terms such as table, schema and key. Describe the EMPLOYEE and EMP_PHOTO tables in detail.

  The current database section found through the office button

In the Current Database section found through the Office Button, add Add Messages-Operator's Version as the application title. Make the start-up form Unread Messages open automatically when the application starts.

  Describe how you created the conceptual and process

Describe how you created the conceptual and process view for all four (4) diagrams. In the description, be sure to provide a justification for each key decision in the design.

  Make a three-by-three chart with row and column labels

Make a 3-by-3 chart with row and column labels WHITE, GRAY, and BLACK. In each cell (i, j), indicate whether, at any point during a depth-first search of directed graph.

  Write a recursive sql query

MCIS 630 Database Systems: -  Write a recursive SQL query that outputs the names of all subparts of the part with part-id “P- 100”.

  Create an action query that makes a table called westcoast

Create an action query that makes a table called WestCoast, with the following records. CA, WA, OR Create an action query to add the NV records to the newly created WestCoast table.

  Fishing in the public waterbodies of victoria rivers creeks

fishing in the public waterbodies of victoria rivers creeks lakes and reservoirs is controlled by the freshwater

  Analyse and comprehend a provided er diagram

Analyse and comprehend a provided ER diagram and Database Schema and mplement a database based on the provided ER diagram and Database Schema

  Briefly describe your database

You will be continuing to enhance your course project. Data is an important part of many applications, and it is now time to add data connectivity to your application

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd