Understand the concept of sql

Assignment Help PL-SQL Programming
Reference no: EM131037664

The Assignment:

Consider the tables given below:

TEACHER (teacherId,T_name,T_address,T_phoneNo,Hometown)

STUDENT (studentId,teacherId,S_name,S_address,S_phoneNo,DOB)    

COURSE (couseCode,CourseName,CreditHours)

STUDENT_COURSE (teacherId,studentId,GPA)

Write SQL queries for the following:

List the teachers showing only the Name and Hometown.

List  all the student Id and teacher Id   where GPA is 3 or more than 3.

List all the students of the teacher whose name is 'John Eric'.

List student Id, name, and address of all the students whose date of birth is 1983.

List all the Course Code  where the credit hours are 4

Objective

  • This assignment has been designed so that you understand the concept of SQL

Reference no: EM131037664

Questions Cloud

Understand the concept of sql : List  all the student Id and teacher Id where GPA is 3 or more than 3. List all the students of the teacher whose name is 'John Eric'. List student Id, name, and address of all the students whose date of birth is 1983. List all the Course Code  where..
Signal vsig having a source resistance rsig : 8.99 For the amplifier in Fig. 8.48(a), let I = 0.5 mA and β = 100, and neglect ro. Assume that a load resistance of 10 kΩ is connected to the output terminal. If the amplifier is fed with a signal vsig having a source resistance Rsig =10 kΩ, find..
How do you understand the plain-sense meaning : Briefly state your methodological procedure (1/2 page). How is it that you are going to bring the original, contextual meaning to light (e.g., archaeology, language, iconography)? You may freely take material from your first major paper and incorp..
Approaches to organisational strategy and human resource : Analyze both the conventional and alternative approaches to organisational strategy and human resource. What role do people issue play in how strategy is made , developed and executed in an organization.
Understand the concept of sql : List  all the student Id and teacher Id where GPA is 3 or more than 3. List all the students of the teacher whose name is 'John Eric'. List student Id, name, and address of all the students whose date of birth is 1983. List all the Course Code  where..
Would you have handled bp strategy execution differently : Debate whether or not a for-profit company competing with rivals can effectively balance ethical business practices while competing for market share in today's marketplace.
Npv and irr calculations : Find the IRR and NPV for given question - NPV and IRR calculations
After plotting demand for four periods : After plotting demand for four periods, an emergency room manager has concluded that a trend-adjusted exponential smoothing model is appropriate to predict future demand.
The bjts in the darlington follower : 8.98 The BJTs in the Darlington follower of Fig. P8.98 have β = 100. If the follower is fed with a source having a 100-kΩ resistance and is loaded with 1 kΩ,

Reviews

Write a Review

PL-SQL Programming Questions & Answers

  Write a select statement that returns these column names

Write a SELECT statement that returns these column names and data from the Products table:

  Table called transactionlog

Create a table called TransactionLog. Create a trigger, which inserts a new record (user CardNo, ISBN, date) into the TransactionLog table whenever the a borrower checks out a book or returns a book.

  Sql give syntax of how to create table in sql and also give

give syntax of how to create table in sql and also give small demo to how to create table in sql.

  If the value for the listprice column is a negative number

If the value for the ListPrice column is a negative number, the stored procedure should raise an error that indicates that this column doesn't accept negative numbers. Similarly, the procedure should raise an error if the value for the DiscountPer..

  Sql statements to create tables using sql ddl statements

Write SQL statements to create the above tables using SQL DDL statements. Write an INSERT statement to add two new records to each table.

  Create and populate the database system using sql server

Global Car Club (GCC) is a small individually owned club which loans cars to its members. GCC first formed in 2009; has over more than 100 good mixes of members and counting.

  What are the two major components of sql

Explain the function of each of the clauses in the SELECT statement. What restrictions are imposed on these clauses. What are the two major components of SQL and what function do they serve

  F does not logically imply

Given R = (J,K,L ) and the set F of FDs J -> K and L -> K , show that F does NOT logically

  Relational model and integrity constraints

Answer all questions with reference to the STUDENT, COURSE, and GRADE tables presented below for which the primary keys, foreign keys, and referential integrity constraints are specified.

  Create a new access database and set up a table

Create a new Access database and set up a table named Sales Rep. Be sure to create attributes, set a primary key, select data types, and add descriptions as necessary. Use the following information:

  Pretend that you are on the boards

Pretend that you are on the boards of the American National Standards Institute (ANSI) and the International Organization for Standards (ISO), two of the organizations who standardized SQL

  Convert requirement to logic and then to sql

Prepare the SQL query for each of given requirements. Convert requirement to logic, then to SQL. Illustrate the names of all products which have been sold.

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