Search
 
SCRIPT & CODE EXAMPLE
 

SQL

CREATE TABLE

CREATE TABLE users ( ) 
Comment

create-table

create table bricks (
  colour varchar2(10),
  shape varchar2(10)
);

select table_name
from   user_tables
where  table_name = 'BRICKS';
Comment

create table

CREATE TABLE fact (
id SERIAL PRIMARY KEY NOT NULL,
type VARCHAR(255),
text TEXT
);

Comment

create table

create table FROM world as
SELECT name, population BETWEEN 1000000 AND 1250000
Comment

Create a table

CREATE TABLE history (
author VARCHAR(128),
title VARCHAR(128),
type VARCHAR(16),
year CHAR(4)) ENGINE InnoDB;
Comment

create table

rollNo INT
studentName VARCHAR(50)
branch VARCHAR(10)
semester INT
Comment

Creating table

create table bricks (
  colour VARCHAR2(10),
  shape VARCHAR2(10)
);

select table_name
from   user_tables
where  table_name = 'BRICKS';
Comment

PREVIOUS NEXT
Code Example
Sql :: unique key in sql 
Sql :: how to delete last row in sql 
Sql :: sqlite clear console 
Sql :: how to get information about data types in postgreSQL 
Sql :: sql rename column in select 
Sql :: SQL/update 
Sql :: back up stored procedures mysql 
Sql :: sql float 3 decimal places 
Sql :: find all tables where column name exists oracle 
Sql :: sql not equal to operator 
Sql :: SQL DATEDIFF(date_part, start_date, end_date) 
Sql :: how to check common records in 2 table 
Sql :: python sqlalchemy orm to select null values 
Sql :: sql server obtener nombre sin espacios en blanco 
Sql :: memberikan password root mysql 
Sql :: how to login to mysql in homestead 
Sql :: SQL SUM() Function 
Sql :: alter database datafile maxsize 32g 
Sql :: greater than or equal to symbol in postgres 
Sql :: json_modify sql server 
Sql :: mysql dump structure only 
Sql :: order by in codeigniter query builder 
Sql :: create procedure 
Sql :: cte in sql server 
Sql :: how to install mssql on mac 
Sql :: Insufficient memory to excute the sql query 
Sql :: sql order by clause 
Sql :: cast in sql server 
Sql :: update table sql 
Sql :: psql view databases 
ADD CONTENT
Topic
Content
Source link
Name
7+3 =