Write the sql queries using data manipulation language, Database Management System

Assignment Help:

Problem

1. Write the SQL queries using Data Manipulation Language (DML) statements.

  1. Insert values into student table with field names using insert command
  2. Display the table student using select command
  3. Update student address in student table using update command.
  4. Delete a row from student table.

>> Writing SQL using DML for each part:

2. Create the payroll database considering table employee.

       1. Do simple queries on the above database.

                     i. list all information of the above both tables.

                    ii. list the empno, ename, jobtitle,and hiredate of employee from the employee table.

       2. list the name, salary of the employees who are clerks.
       3. list the name,job,salary of every employee joined on certain date. (say ‘december 17,1980')
       4. list name and annual salary of all the employees.
       5. list the employees who have salary between certain range (say between Rs. 1000 & 2000)

>> Creating database according to 5 subparts


Related Discussions:- Write the sql queries using data manipulation language

Relational database, Convert the following ER - diagram (Entity Relationsh...

Convert the following ER - diagram (Entity Relationship Diagram) into a relational database (the primary keys are underlined): 2160_Convert the following ER - diagram into a

Create table, What are the advantages of creating a table from existing tab...

What are the advantages of creating a table from existing table?

What is a shadow copy scheme, What is a shadow copy scheme? It is simpl...

What is a shadow copy scheme? It is simple, but efficient, scheme known as the shadow copy schemes. It is based on making copies of the database called shadow copies that singl

Ddl compiler-database management system, DDL Compiler The DDL compile...

DDL Compiler The DDL compiler changes the data definition statements (such as CREATE TABLE .... in SQL) into a set of tables having metadata tables. These tables have infor

What are metrics for choosing the best algorithm, What are metrics for choo...

What are metrics for choosing the best algorithm? Matrices for choosing the best algorithms are as below: Computational complexity Ease of understand ability and im

Define decision tree classifiers, Define decision tree classifiers? As ...

Define decision tree classifiers? As the name suggests decision tree classifiers use a tree: Every leaf node has an associated class, and every internal node has a predicate as

Define- relational algebra, Define- relational algebra. The relational ...

Define- relational algebra. The relational algebra is a procedural query language. It having of a set of operations that take one or two relation as input and make a new relati

Explain the cartesian product, Explain the Cartesian product:  The Cart...

Explain the Cartesian product:  The Cartesian product operation does not need relations to union-compatible.  The meaning of this is that the involved relations may have dissim

Explain natural join, Explain natural join? Natural Join - Similar as...

Explain natural join? Natural Join - Similar as equi-join except in which the join attributes (having similar names) are not involved in the resulting relation. Only one sets

Write Your Message!

Captcha
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