Search
 
SCRIPT & CODE EXAMPLE
 

SQL

sql sample tables with data

// Create Table
CREATE TABLE  "AGENTS" 
   (	
    "AGENT_CODE" CHAR(6) NOT NULL PRIMARY KEY, 
	"AGENT_NAME" CHAR(40), 
	"WORKING_AREA" CHAR(35), 
	"COMMISSION" NUMBER(10,2), 
	"PHONE_NO" CHAR(15), 
	"COUNTRY" VARCHAR2(25) 
	 );
// Add record
INSERT INTO AGENTS VALUES ('A007', 'Ramasundar', 'Bangalore', '0.15', '077-25814763', '');
Comment

PREVIOUS NEXT
Code Example
Sql :: select from array in psql 
Sql :: plsql code for deleting a row from nested table in oracle 
Sql :: SQL server query column yes or no 
Sql :: oracle search columns in schema 
Sql :: mysql update table from select on another table 
Sql :: copy one column data to another in sql 
Sql :: sql remove non numeric characters 
Sql :: column names in oracle sql 
Sql :: get last record in sql 
Sql :: datetime add 2 hours sql 
Sql :: update date of birth in sql 
Sql :: sql server delete top 1000 
Sql :: how to update column name in psql 
Sql :: Step 1: Installing MySQL Client You can install MySQL client directly through pip using the command pip install mysqlclient 
Sql :: add user mysql wordpress 
Sql :: psql client write to bash variable 
Sql :: oracle alter tablespace add datafile autoextend max size 
Sql :: combine two columns using sql query 
Sql :: oracle add proxy 
Sql :: sql select all from table 
Sql :: oracle sessions_per_user limit 
Sql :: python mysql query to dataframe 
Sql :: MySQL FIND_IN_SET() 
Sql :: sqlite drop table 
Sql :: postgres autoincrement primary key 
Sql :: mysql concatenate select results 
Sql :: sql not null 
Sql :: alter table add column forigen key mysql 
Sql :: how to sort names in alphabetical order in sql 
Sql :: sql unique rows 
ADD CONTENT
Topic
Content
Source link
Name
3+5 =