Mango db create a table 1
23.10.24 Here's how you can create a SQL table based on the given data, and I'll provide the expected output. SQL Code to Create the Table and Insert Data: Ex.Code -------------------------------------------------------------------------------------- -- Drop the table if it already exists DROP TABLE IF EXISTS students_info; -- Create the table CREATE TABLE students_info ( id INTEGER PRIMARY KEY, name TEXT NOT NULL, age INTEGER NOT NULL, country TEXT NOT NULL ); -- Insert data into the table INSERT INTO students_info (id, name, age, country) VALUES (1, 'Vidya Sagar', 30, 'India'); INSERT INTO students_info (id, name, age, country) VALUES (2, 'Pinky', 28, 'Australia'); -- Select all data from the table SELECT * FROM students_info; -------------------------------------------------------------------------------------- Explanation of SQL Code: DROP TABLE IF EXISTS : Ensures that the table is deleted if it exists, to avoid co...