प्राथमिक कुंजी होनी चाहिए
A primary key must be
उत्तर / हल देखें ▶
सही विकल्प: B — Unique and not null / अद्वितीय और खाली नहीं
Each row is identified by a unique, mandatory primary key. / हर पंक्ति की एक अनोखी पहचान।
प्राथमिक कुंजी, SELECT, GROUP BY, सामान्यीकरण। इस पेज पर 15 प्रश्न: 8 विकल्प, 4 लघु, 3 दीर्घ।
A primary key must be
सही विकल्प: B — Unique and not null / अद्वितीय और खाली नहीं
Each row is identified by a unique, mandatory primary key. / हर पंक्ति की एक अनोखी पहचान।
Which SQL command retrieves rows?
सही विकल्प: B — SELECT
SELECT … FROM … WHERE … reads data; INSERT adds, UPDATE changes, DROP removes a table. / SELECT पढ़ता है।
To keep only rows where marks > 40 you add
सही विकल्प: B — WHERE marks > 40
WHERE filters rows before grouping. / WHERE शर्त लगाता है।
Which statement about a foreign key is true?
सही विकल्प: B — It refers to the primary key of another (or same) table / दूसरी (या उसी) तालिका की प्राथमिक कुंजी से जुड़ती है
A foreign key maintains referential integrity between tables. / तालिकाओं के बीच संबंध।
Write an SQL statement to show name and marks of students who scored more than 70, sorted by marks descending.
SELECT name, marks FROM students WHERE marks > 70 ORDER BY marks DESC; / WHERE छानता है, ORDER BY सजाता है।
Why use a DBMS instead of many separate spreadsheet files?
A DBMS reduces duplicate data, enforces keys and types, allows many users with permissions, and answers questions with SQL. Spreadsheets are fine for a class list of 40; a school of 2000 needs a database. / दोहराव कम, कुंजी, बहु-उपयोगकर्ता, SQL।
A table STUDENT(roll, name, class, marks) is given. Write SQL to (i) create it, (ii) insert one row, (iii) raise marks by 5 for class 12, (iv) delete marks below 20.
CREATE TABLE STUDENT (roll INT PRIMARY KEY, name VARCHAR(40), class INT, marks INT); INSERT INTO STUDENT VALUES (101, 'Ravi', 12, 62); UPDATE STUDENT SET marks = marks + 5 WHERE class = 12; DELETE FROM STUDENT WHERE marks < 20; Mention PRIMARY KEY so roll cannot repeat. / CREATE, INSERT, UPDATE, DELETE — शर्त WHERE में।
A foreign key is used to
सही विकल्प: B — तालिकाओं में संबंध बनाने / link tables
It references a primary key in another table and enforces referential integrity.
Which SQL command removes a table structure?
सही विकल्प: B — DROP TABLE t
DROP removes the table. DELETE removes rows (structure stays). TRUNCATE empties rows faster, still a table.
SELECT name FROM student WHERE marks > 80; returns
सही विकल्प: B — केवल name जहाँ marks > 80
Projection of name, selection of rows with marks > 80. DQL, not DDL.
The clause that groups rows for aggregate functions is
सही विकल्प: B — GROUP BY
GROUP BY with COUNT, SUM, AVG. HAVING filters groups; WHERE filters rows first.
What is a primary key? Two properties.
A column (or set) that uniquely identifies each row. Must be unique and not null. Candidate keys are other unique options; one is chosen as primary.
Write SQL to display names of students scoring 90 or more from table STUDENT(name, marks).
SELECT name FROM STUDENT WHERE marks >= 90;
What is normalisation? Explain 1NF and 2NF with a tiny example (student-course). Why avoid redundant data?
Organise tables to reduce redundancy and anomalies. 1NF: atomic values, no repeating groups. 2NF: 1NF + no partial dependence on a composite key. Example: don’t store course fee in every student-enrolment row if fee depends only on course-id. Redundancy causes inconsistent updates.
Write SQL: create table BOOK(id integer primary key, title varchar(50), price integer); insert one row; list titles cheaper than 300.
CREATE TABLE BOOK (id INT PRIMARY KEY, title VARCHAR(50), price INT); INSERT INTO BOOK VALUES (1, 'Ncert Maths', 250); SELECT title FROM BOOK WHERE price < 300;
MCQ टैप करें। गणित में पीला बैज “शॉर्ट ट्रिक” Step 1 पर सूत्र बताता है। दीर्घ में पूरा हल कॉपी जैसा लिखें।
क्या ये 2026 के लीक प्रश्न हैं?
नहीं। NCERT/UPMSP पैटर्न के महत्वपूर्ण अभ्यास प्रश्न हैं। आधिकारिक पेपर UPMSP जारी करता है।
गणित की ट्रिक कहाँ है?
शॉर्ट ट्रिक बैज वाले प्रश्नों में Step 1 पर ट्रिक लिखी है। कक्षा 10: /up-board/class-10/maths/tricks/ · कक्षा 12: /up-board/class-12/maths/tricks/।
Follow this loop every day: mixed test, current affairs, then today's subject. A new set arrives tomorrow.
After this page, use these three links — do not open a random page.
More sets from the same cluster — stay on this topic.
Timed papers with a scorecard — start any time, then return to a related quiz above.