#PrachiTheEducator
Display Data by using fetchone(), fetchall(), fetchmany() and rowcount,
Interface Python with MYSQL
In this video, you will learn how to extract data from a resultset suing various functions:
Data=cursor.fetchall() - Return all the records retrieved as per query in a tuple form.
data=cursor.fetchone() – It will return one record from the resultset as a tuple. First time, it will fetch the first record, next time it will fetch the second record.
data=cursor.fetchmany(n) – This method fetches n records in the form of a tuple.
Variable=cursor.rowcount – This property of a cursor object returns the number of rows retrieved.
Dear Friends, please help this channel to grow. I will keep uploading quality python tutorial for you.
Please like, share n subscribe my channel.
Python Introduction:
• Python Introduction | What is Python ...
Python modes:
• INTERACTIVE V/S SCRIPT MODE | HOW TO ...
Python Tokens:
• Python Fundamentals | TOKEN | KEYWORD...
Static v/s Dynamic Typing:
• Static V/S Dynamic Typing | CBSE CLAS...
Variable# Datatype# Type Casting:
• Variable| Datatype | Operators | Type...
String Data type:
• String Data type in Python | String S...
String Functions:
• String Functions in Python | Class 12...
List in Python:
• List in Python |List methods |Class 1...
Dictionary in Python:
• Dictionary Methods Live Demonstration...
Conditional Statements:
• Conditional Statements in Python| Flo...
Loops in Python:
• Looping in Python Class 11 | while an...
Range Function:
• for loop in python | range function |...
Factorial Program:
• Factorial Program in Python| To calcu...
Jump Statements:
• Jump Statements (break and continue) ...
Functions in Python:
• Functions in Python | Types of functi...
User Defined Functions:
• User defined function in Python | Pyt...
Arguments & Parameters:
• Arguments & parameters in Python | Py...
Output based Questions:
• Output based questions | Easiest way ...
Error Finding Questions in Python, class 12 python error finding question
• Error finding questions in python | I...
Playlist:
Computer Science with Python Class 12:
• Python Tutorial for beginners | CBSE ...
String Data type:
• String Data type | String Slicing | S...
Flow Control (Conditional & Iterative Statements):
• Conditional & Iterative Statements
Function in Python:
• Functions in Python | Types of functi...
File Handling : Text files, Binary files, CSV files
• file handling | python file handling ...
Data structure: Introduction, Stack implementation
• Data structure : Stack (Push & Pop), ...
Important questions, Error based, Output based
• Important Questions | Error finding |...
#cbse
#board exam
#how to study python
#class 12 python
#python for class 12
#computer science
#computer science for class 12
#python tutorial in hindi