Question
Write and run the following queries for your database using SQL comman
Answer :
Word Count : 592
_________ __________ _______ _________ _________ _______ ___ _____ ______ _____ __________.
________ _________ __________ _____ _____ _________ _____ _____ ________ _____ ________.
_________ _____ _____ _____ ____ _________ _____ ___ __________ ____.
___ ____ ______ _____ _________ ____ ______ _______.
________ ____ ______ ______ ___ ______ __________.
______ __________ ______ ________ _____ ______ ______ _________ __________ ___.
______ _______ _________ _______ ______.
_______ ____ _________ _____ _________ _____ _________.
____ _______ ___ ______ _____ ______ _______ ______ ______.
____ _______ _____ _____ _________ ____ ________ __________ _______ __________.
_______ _______ ________ ____ ____ __________ _________ _________.
_________ _________ _______ _______ ___ _________ ________ _____ ________ ________ ________.
______ _____ ______ __________ ___.
__________ __________ _______ ______ ___.
__________ ___ ___ __________ ___ __________ ____ ______ __________ _______.
________ _________ _____ ____ _____ ________ _____ _______.
____ ____ __________ __________ ________ _________ ___ ____ _____ ___ ______ ______.
_____ ____ ________ _______ ________ __________ _________ ___ ______.
______ _____ ______ __________ ______ ______ ______ _________ __________ ________ ______ _____.
__________ ____ ___ _____ ________ ______ _______ _________ _____ ____.
___ ______ _________ _____ ____ _________ _____ ___ ________ _________.
_______ ____ ________ _________ ______ ______ _____ ___ _________ _____.
_________ ___ ________ _______ ______ ____ _________ ____ _____.
______ __________ _________ ____ _____ _____ __________.
________ _____ ____ ___ _______ ____.
________ ________ _____ ____ ______ __________ ________ ___ _______.
__________ __________ ____ ________ _____ __________ _____ _________ ___ _____.
______ _______ ____ ____ __________ _________ _____ _____ __________ ______ ________.
________ ________ _______ ____ _________ _________ ______ ________.
________ _______ ___ ___ ________ ___ ________ ______.
____ _____ __________ _______ ___.
________ _________ ____ ____ _________.
________ _______ _____ _________ ____ _______ _________ _________ ________ ______ ________ _________.
____ __________ _________ _________ _________ ____ _______.
_________ ________ _______ _____ ____ _____.
_________ _________ ___ ___ ____ ______ _______ __________.
_________ ________ _______ ______ ___ ________.
_________ ________ ___ ____ _______ ___ _______ ________ ___.
________ ____ ________ ___ ______ __________ __________ __________ _______.
_________ _______ ______ ____ ____ ____.
_______ _____ _______ _________ ________ _____ ______ ________ ________ ________ _______ ____.
_________ ____ __________ ______ __________ _____ _____ _______.
_______ _______ ____ ____ ___.
Skip in 10
Structured Query Language (SQL) is the standard language used to interact with relational databases. It enables users to create database objects, insert records, retrieve information, update existing data, and remove unwanted records. In a DBMS and Java Lab, SQL queries are commonly executed on a sample database containing tables such as Student, Course, Employee, or Department. The following SQL commands demonstrate the basic operations performed on a database. Create a table: ```sql CREATE TABLE Student ( StudentID INT PRIMARY KEY, Name VARCHAR(50), Age INT, Gender VARCHAR(10), Course VARCHAR(50), Marks INT ); ``` Insert records into the table: ```sql INSERT INTO Student VALUES (101, 'Amit', 20, 'Male', 'BCA', 85); INSERT INTO Student VALUES (102, 'Neha', 21, 'Female', 'BCA', 90); INSERT INTO Student VALUES (103, 'Rahul', 22, 'Male', 'MCA', 78); INSERT INTO Student VALUES (104, 'Priya', 20, 'Female', 'BCA', 88); INSERT INTO Student VALUES (105, 'Karan', 23, 'Male', 'MCA', 82); ``` Display all records: ```sql SELECT * FROM Student; ``` Display specific columns: ```sql SELECT StudentID, Name, Course FROM Student; ``` Display students whose marks are greater than 80: ```sql SELECT * FROM Student WHERE Marks > 80; ``` Display students of the BCA course: ```sql SELECT * FROM Student WHERE Course = 'BCA'; ``` Update the marks of a student: ```sql UPDATE Student SET Marks = 92 WHERE StudentID =
_______ _________ _________ _________ __________ _____ __________ _______ _______._________ __________ _______ _________ _________ _______ ___ _____ ______ _____ __________.
________ _________ __________ _____ _____ _________ _____ _____ ________ _____ ________.
_________ _____ _____ _____ ____ _________ _____ ___ __________ ____.
___ ____ ______ _____ _________ ____ ______ _______.
________ ____ ______ ______ ___ ______ __________.
______ __________ ______ ________ _____ ______ ______ _________ __________ ___.
______ _______ _________ _______ ______.
_______ ____ _________ _____ _________ _____ _________.
____ _______ ___ ______ _____ ______ _______ ______ ______.
____ _______ _____ _____ _________ ____ ________ __________ _______ __________.
_______ _______ ________ ____ ____ __________ _________ _________.
_________ _________ _______ _______ ___ _________ ________ _____ ________ ________ ________.
______ _____ ______ __________ ___.
__________ __________ _______ ______ ___.
__________ ___ ___ __________ ___ __________ ____ ______ __________ _______.
________ _________ _____ ____ _____ ________ _____ _______.
____ ____ __________ __________ ________ _________ ___ ____ _____ ___ ______ ______.
_____ ____ ________ _______ ________ __________ _________ ___ ______.
______ _____ ______ __________ ______ ______ ______ _________ __________ ________ ______ _____.
__________ ____ ___ _____ ________ ______ _______ _________ _____ ____.
___ ______ _________ _____ ____ _________ _____ ___ ________ _________.
_______ ____ ________ _________ ______ ______ _____ ___ _________ _____.
_________ ___ ________ _______ ______ ____ _________ ____ _____.
______ __________ _________ ____ _____ _____ __________.
________ _____ ____ ___ _______ ____.
________ ________ _____ ____ ______ __________ ________ ___ _______.
__________ __________ ____ ________ _____ __________ _____ _________ ___ _____.
______ _______ ____ ____ __________ _________ _____ _____ __________ ______ ________.
________ ________ _______ ____ _________ _________ ______ ________.
________ _______ ___ ___ ________ ___ ________ ______.
____ _____ __________ _______ ___.
________ _________ ____ ____ _________.
________ _______ _____ _________ ____ _______ _________ _________ ________ ______ ________ _________.
____ __________ _________ _________ _________ ____ _______.
_________ ________ _______ _____ ____ _____.
_________ _________ ___ ___ ____ ______ _______ __________.
_________ ________ _______ ______ ___ ________.
_________ ________ ___ ____ _______ ___ _______ ________ ___.
________ ____ ________ ___ ______ __________ __________ __________ _______.
_________ _______ ______ ____ ____ ____.
_______ _____ _______ _________ ________ _____ ______ ________ ________ ________ _______ ____.
_________ ____ __________ ______ __________ _____ _____ _______.
_______ _______ ____ ____ ___.
IGNOU ACADEMY
Your IGNOU journey, made easier.
- Solved Assignments
- Study Notes
- Guess Papers
- Question Papers
Continue Reading — It's Free
Sign in with Google to unlock more of this answer.
✓ Free access
✓ Unlock up to 60% of the answer
✓ No payment required
✓ Unlock up to 60% of the answer
✓ No payment required
Quick Google sign-in. No separate registration form.