Basic SQL Commands

1. CREATE DATABASE It is used to create a new database. Syntax: CREATE DATABASE database_name; Example:      CREATE DATABASE school; 2. USE It is used to select a database before performing any operation. Syntax: USE database_name; Ex.-    USE school; 3. CREATE TABLE It is used to create a new table inside a database….

Read More

String in Python

What is a String? A string is a sequence of characters enclosed in: Single quotes ‘ ‘ Double quotes ” ” Triple quotes ”’ ”’ or “”” “”” Example Features of Strings Strings are immutable (cannot be changed after creation) Strings are indexed. 3. String Indexing Positive Indexing As we have seen that list items…

Read More