Write sql queries

Assignment Help PL-SQL Programming
Reference no: EM131060221

Write SQL queries for the following relations

LANGUAGE (langNo, langName)

NATION (nationNo, nationName)

MAGAZINE (magNo, magName, startDate, langNo, nationNo)

ISSUE (readerNo, magNo, borrowDate, returnDate, comment)

READER (readerNo, readerName, deptNo, address, birthDate, phone, email)

DEPARTMENT (deptNo, deptName)

a) Add a new language with the id = 9 and name Punjabi.

b) List all the reader names in ascending order whose phone no starts with 0333.

c) List all the reader's detail whose department is Management or Computer Science.

d) List all the magazines whose return date is '12/12/2006'.

e) Alter deptName to "Computer Science" where deptNo is 2.

f) Delete ISSUE records where magNo is 111.

g) List all the READERs along with the magName they got issued.

Purposes:

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

Reference no: EM131060221

Questions Cloud

What is your local machines default gateway ip address : Screen shot the local area connection properties of your computer. What is your local machine's default gateway IP address? What is the purpose of having a default gateway?
Understand the concept of normalization : This assignment has been designed so that you understand the concept of Normalization.
Develop a high-growth strategy : 1. Describe AbouShakra in terms of the value it provides for customers. 2. Do you think AbouShakra should develop a high-growth strategy? Why or why not?
How does the internet impact your daily life : How do you utilize the Internet? How does the Internet impact your daily life? How is the Internet used professionally? How will the Internet apply to your future career?
Write sql queries : Write SQL queries for the following relations LANGUAGE (langNo, langName) NATION (nationNo, nationName)
Effectiveness as a negotiator in your personal life : Question 4: We are beginning to discuss negotiating your way from confrontation to cooperation this week in our analysis of the introduction to Getting Past No, by William Ury (Part I: Prologue 15-28). Please rate your effectiveness as a negotiato..
Conduct an in-depth analysis of the country : Conduct an in-depth analysis of the country you have chosen for the feasibility project. This analysis should include a written description - Country background and history.
How did you create a module or method in quicklab : How did you create a ‘module' or ‘method' in QuickLab? Provide your screenshot! How did you document your program (Provide your example--codes or screenshot?
Determining the management information systems : What do you understand by Management Information Systems? Give a clear outlay of the management Information that a company may employ

Reviews

Write a Review

PL-SQL Programming Questions & Answers

  Create queries in sql

Create queries in SQL that will provide the data to answer the business questions (they are listed below). In addition, create a Data Dictionary for the tables

  Write sql create table statement to create pet table

Write an SQL CREATE TABLE statement to create the PET table without referential integrity constraint on OwnerID in PET.

  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 sql procedure to print out names and grade of student

Please create a PL/SQL function to return the average grade of students taking a given class in a given year and semester. The input parameters are the class name, year, and semester. Please write an anonymous PL/SQL program to call the function a..

  Question 1write a perl subroutine for temperature

question 1write a perl subroutine for temperature conversion named converttemp. it should be able to handle both

  Create a comparison document

Create a Comparison Document

  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.

  List the items from the table

List the part number, part description, and item class for each pair of parts that are in the same item class.

  Show a structured query language query

Show a Structured Query Language (SQL) query, and screenshot your results in a Microsoft Word document. For Part 2, provide explanations and screenshots documenting

  How to understand sql ddl and dml

Task one will provide a relational database implementation of the sample solution from the first assignment. This should be done using CASE software (the choice will be up to you).

  Run the lab_03_01.sql script

Run the lab_03_01.sql script in the attached file to create the SAL_HISTORY table. Display the structure of the SAL_HISTORY table.

  Write select statement that returns categoryname

Write a SELECT statement that returns the CategoryName column from the Categories table.

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