“SQL/Update” Code-Antworten

Sql

create table this_table_has_three_columns (
  this_is_a_character_column varchar2(100),
  this_is_a_number_column    number,
  this_is_a_date_column      date
);
Victorious Vendace

sql

SELECT * FROM STUDENT
Gentle Goldfinch

Sql

create or replace view active_toys as
  select * from toys
  where is_deleted = 'N';

select * from active_toys;
Talented Termite

Sql

create table toys_iot (
  toy_id   integer primary key,
  toy_name varchar2(100)
) organization index;
Talented Termite

Sql

select table_name
from   user_tables
where  table_name = 'TOYS_HEAP';

drop table toys_heap;

select table_name
from   user_tables
where  table_name = 'TOYS_HEAP';
Talented Termite

Sql

select *
from   toys 
where  not colour = null;

select *
from   toys 
where  colour <> null;
Talented Termite

Sql

select * 
from   toys
join   bricks
/* TODO */ on toy_id = brick_id 
Talented Termite

sql

SQL (Structured Query Language)
Mr. Codex

sql

Download XAMPP
VScoder

Sql

select * from toys
where  toy_name = 'Sir Stripypants'
and    colour = 'green';
Talented Termite

Durchsuchen Sie beliebte Code-Antworten nach Sprache

Durchsuchen Sie andere Codesprachen