Home »
Articles posted by evirtualguru_ajaygour (Page 1371)
Conversation “AN AFTERNOON IN THE KITCHEN” Situation: Mrs. Anderson is baking cakes when her daughter Debbie gets home from school. Debbie: Mom, I am home. Mrs. Anderson: How was school? How did you do on the test? Debbie: School was OK, and I did great on the test. Mom, I was so worried about that test , but now I feel great. What a relief! Mrs. Anderson: I am glad to hear...
Continue reading »
December 30, 2015 evirtualguru_ajaygourASL Test2 Comments
CBSE Assessment of Speaking Task and Speaking Test (ASL) with conversation and Questions and Answers for Class 10 TALKING ABOUT THE WEATHER Situation: Ann and Mary talk while walking to their next class. Ann: Oh, it feels so cold this morning. Mary: It sure is. Early this morning my car’s windshield was covered with frost. I had to spray it with water before I could head to school. Ann: Who would...
Continue reading »
December 29, 2015 evirtualguru_ajaygourASL Test2 Comments
SELECT COMMAND–The SELECT Command is used to query a database or retrieve information from it. There are various ways in which the SELECT command can be used. The basic structure of a SELECT command contains the SELECT clause followed by the attribute list (separated by comma (,)) you want to select, then FROM clause followed by the table name and lastly WHERE clause which is followed by the condition which can...
Continue reading »
December 28, 2015 evirtualguru_ajaygourOnline Computer EducationNo Comment
DELETE COMMAND– In order to delete one or more tuples, DELETE command is used. If we want to delete the tuple for Teacher with ID=2345 the command is: DELETE FROM Teacher WHERE Teacher_ID=234; If the WHERE clause is missing then it will delete all the tuples in a table. DELETE FROM Teacher; The above command would delete all the tuple in the table Teacher. Alike UPDATE...
Continue reading »
December 28, 2015 evirtualguru_ajaygourOnline Computer EducationNo Comment
UPDATE COMMAND– This command is used to update the attribute values of one or more tuples in a table. For example in the Teacher table, we want to update the Dept_No of teachers teaching computer science to 123. This can be done using the following command: UPDATE Teacher SET Dept_No=123 WHERE Subject=”Computer Science”; We can also use the SELECT command in the WHERE clause of UPDATE command if we have to...
Continue reading »
December 28, 2015 evirtualguru_ajaygourOnline Computer EducationNo Comment
INSERT COMMAND – This command is used to insert a tuple in a relation. We must specify the name of the relation in which tuple is to be inserted and the values. The values must be in the same order as specified during the Create Table command. For example, consider the following table Teacher: CREATE TABLE Teacher ( Teacher_Namevarchar(20) NOT NULL, Teacher_IDinteger, Dept_Nointeger DEFAULT 234, Subject varchar(20) ); ...
Continue reading »
December 28, 2015 evirtualguru_ajaygourOnline Computer EducationNo Comment
ALTER TABLE COMMAND– This command is used to modify the base table definition. The modifications that can be done using this command are: Adding a column: Suppose we want to add a column Date_of_Birth in the Teacher table. Following command is used to add the column: ALTER TABLE Teacher ADD Date_of_Birth date; Teacher table is shown before and after the modification in the following figure: Dropping a column: A column can...
Continue reading »
December 28, 2015 evirtualguru_ajaygourOnline Computer EducationNo Comment
DROP TABLE COMMAND:This command is used to delete tables. For example, suppose you want to drop the Teacher table then the command would be: DROP TABLE Teacher CASCADE; Thus Teacher table would be dropped and with the CASCADE option, all the constraints that refer this table would also be automatically dropped. However if the requirement is that the table should not be dropped if it is being referenced in...
Continue reading »
December 28, 2015 evirtualguru_ajaygourOnline Computer EducationNo Comment