@ialgorithmia/stylusdb-sql

1.0.1 • Public • Published

Javascript based Stylus DB implementation Here is a list of basic SQL commands:

  1. SELECT: Retrieve data from one or more tables. Example - SELECT column1, column2 FROM table_name WHERE condition;

  2. INSERT: Insert new records into a table. Example - INSERT INTO table_name (column1, column2) VALUES (value1, value2);

  3. UPDATE: Modify existing records in a table. Example - UPDATE table_name SET column1 = value1 WHERE condition;

  4. DELETE: Remove records from a table. Example - DELETE FROM table_name WHERE condition;

  5. CREATE TABLE: Create a new table with specified columns and data types. Example - CREATE TABLE table_name ( column1 datatype, column2 datatype, ... );

  6. ALTER TABLE: Modify an existing table (e.g., add or drop columns). Example - ALTER TABLE table_name ADD column_name datatype;

  7. DROP TABLE: Delete an existing table

Readme

Keywords

none

Package Sidebar

Install

npm i @ialgorithmia/stylusdb-sql

Weekly Downloads

1

Version

1.0.1

License

ISC

Unpacked Size

133 kB

Total Files

41

Last publish

Collaborators

  • ialgorithmia