
SQL & Python Connectivity

Quiz
•
Computers
•
12th Grade
•
Medium
anshu sharma
Used 34+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Full form of API
Application Process Interchange
Application Programs Interchange
Application Process Interface
Application Programming Interface
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Connector Library to connect MySQL with Python IDLE is
pymysql
mysql.connector
both a and b
none of these
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To display all the databases of MySQL with the help of cursor mycursor , command will be
mycursor.execute("SHOW DATABASES")
mycursor.execute("DESC DATABASES")
mycursor.executes("SHOW DATABASES")
mycursor.execute("SHOW ALL DATABASES")
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Correct the error if any
mycursor = mydb.cursor()
mycursor.execute("CREATE TABLE customers (name VARCHAR(25), 'address' VARCHAR(55))")
mycursor.execute('CREATE TABLE customers (name VARCHAR(25), 'address' VARCHAR(55))')
mycursor.execute("CREATE TABLE customers (name VARCHAR(25), address VARCHAR(55))')
mycursor.execute("CREATE TABLE customers (name VARCHAR(25), address VARCHAR(55));")
mycursor.execute("CREATE TABLE customers (name VARCHAR(25), address VARCHAR55))")
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
After inserting the data we need to issue
rollback
set autocommit
mycur.commit(1)
mycur.commit()
6.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
To close a connection (CON) we Use
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command is used for counting the number of rows in a database?
row
rowcount
count
row_count
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Introduction to MySQL

Quiz
•
11th - 12th Grade
15 questions
AV1/R1 3TEC_Banco de Dados - Chave Primária

Quiz
•
1st Grade - University
10 questions
Programming - Iteration, Basic Programming Constructs & Loop

Quiz
•
2nd - 12th Grade
20 questions
Cuestionario de Modelo Relacional

Quiz
•
12th Grade
20 questions
IT Essentials Ch 2 Review - PC Assembly

Quiz
•
10th Grade - University
10 questions
Technical Terms - Hardware (A-Z) - Lightning

Quiz
•
12th Grade
17 questions
IC3 Domain 1 Review Questions

Quiz
•
9th - 12th Grade
18 questions
MySQL adatleíró és adatkezelő utasítások

Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade