From 6dcf960dc5261fb3a57ec2ae4074b38cb01cd40b Mon Sep 17 00:00:00 2001 From: divyagh Date: Sat, 11 Apr 2020 14:05:18 +0530 Subject: [PATCH] WhichDB database tutorials --- cassandra/advanced/collection-data-types.md | 63 ++++++++ cassandra/crud-operations/creating-data.md | 21 +++ .../crud-operations/creating-keyspace.md | 41 ++++++ cassandra/crud-operations/creating-table.md | 30 ++++ cassandra/crud-operations/deleting-data.md | 22 +++ .../crud-operations/deleting-keyspace.md | 5 + cassandra/crud-operations/reading-data.md | 23 +++ cassandra/crud-operations/updating-data.md | 27 ++++ cassandra/index.json | 60 ++++++++ cassandra/introduction/installation.md | 32 ++++ cassandra/introduction/key-concepts.md | 17 +++ cassandra/introduction/what-is-cassandra.md | 1 + couchdb/crud-operations/creating-data.md | 39 +++++ couchdb/crud-operations/creating-database.md | 26 ++++ couchdb/crud-operations/deleting-data.md | 40 +++++ couchdb/crud-operations/deleting-database.md | 6 + couchdb/crud-operations/updating-data.md | 40 +++++ couchdb/index.json | 46 ++++++ couchdb/introduction/installation.md | 7 + couchdb/introduction/key-concepts.md | 28 ++++ couchdb/introduction/what-is-couchdb.md | 1 + dynamodb/index.json | 60 ++++++++ dynamodb/introduction/installation.md | 0 dynamodb/introduction/key-concepts.md | 24 +++ dynamodb/introduction/what-is-dynamodb.md | 1 + .../aggregations/bucket-aggregations.md | 9 ++ .../aggregations/metrics-aggregation.md | 54 +++++++ .../crud-operations/deleting-data.md | 55 +++++++ .../crud-operations/inserting-data.md | 74 ++++++++++ .../crud-operations/reading-data.md | 22 +++ .../crud-operations/search-database.md | 20 +++ .../crud-operations/updating-data.md | 36 +++++ elastic-search/index.json | 78 ++++++++++ elastic-search/introduction/installation.md | 43 ++++++ elastic-search/introduction/key-concepts.md | 8 + .../introduction/what-is-elasticsearch.md | 2 + firebird/commands/commands.md | 19 +++ firebird/constraints/constraints.md | 21 +++ firebird/data-types/data-types.md | 49 +++++++ firebird/index.json | 97 ++++++++++++ firebird/indexes/indexes.md | 18 +++ firebird/introduction/about-firebird.md | 12 ++ firebird/introduction/installation.md | 56 +++++++ firebird/joins/joins.md | 90 ++++++++++++ .../stored-procedures/stored-procedures.md | 38 +++++ firebird/triggers/triggers.md | 44 ++++++ firebird/views/views.md | 36 +++++ ibm-db2/commands/commands.md | 25 ++++ ibm-db2/commands/dcl-commands.md | 123 ++++++++++++++++ ibm-db2/commands/ddl-commands.md | 83 +++++++++++ ibm-db2/commands/dml-commands.md | 52 +++++++ ibm-db2/commands/tcl-commands.md | 27 ++++ ibm-db2/constraints/constraints.md | 71 +++++++++ ibm-db2/data-types/data-types.md | 45 ++++++ ibm-db2/index.json | 120 +++++++++++++++ ibm-db2/indexes/indexes.md | 18 +++ ibm-db2/introduction/about-ibmdb2.md | 10 ++ ibm-db2/introduction/db2-instance.md | 98 +++++++++++++ ibm-db2/introduction/installation.md | 22 +++ ibm-db2/joins/joins.md | 90 ++++++++++++ .../stored-procedures/stored-procedures.md | 38 +++++ ibm-db2/triggers/triggers.md | 40 +++++ ibm-db2/views/views.md | 37 +++++ mariadb/commands/commands.md | 25 ++++ mariadb/commands/dcl-commands.md | 57 ++++++++ mariadb/commands/ddl-commands.md | 82 +++++++++++ mariadb/commands/dml-commands.md | 54 +++++++ mariadb/commands/tcl-commands.md | 27 ++++ mariadb/constraints/constraints.md | 21 +++ mariadb/data-types/data-types.md | 49 +++++++ mariadb/index.json | 124 ++++++++++++++++ mariadb/indexes/indexes.md | 18 +++ mariadb/introduction/about-mariadb.md | 13 ++ mariadb/introduction/installation.md | 40 +++++ mariadb/joins/joins.md | 90 ++++++++++++ mariadb/keys/keys.md | 23 +++ .../stored-procedures/stored-procedures.md | 38 +++++ mariadb/triggers/triggers.md | 44 ++++++ mariadb/views/views.md | 36 +++++ microsoft-sql-server/commands/commands.md | 25 ++++ microsoft-sql-server/commands/dcl-commands.md | 62 ++++++++ microsoft-sql-server/commands/ddl-commands.md | 89 +++++++++++ microsoft-sql-server/commands/dml-commands.md | 54 +++++++ microsoft-sql-server/commands/tcl-commands.md | 22 +++ .../constraints/constraints.md | 135 +++++++++++++++++ .../data-types/date-and-time.md | 10 ++ .../data-types/numeric-data-types.md | 16 ++ .../data-types/string-data-types.md | 13 ++ microsoft-sql-server/index.json | 121 +++++++++++++++ microsoft-sql-server/indexes/indexes.md | 19 +++ .../introduction/about-mssqlserver.md | 22 +++ .../introduction/installation.md | 33 +++++ microsoft-sql-server/joins/joins.md | 90 ++++++++++++ .../stored-procedures/stored-procedures.md | 40 +++++ microsoft-sql-server/triggers/triggers.md | 42 ++++++ microsoft-sql-server/views/views.md | 36 +++++ mongodb/advanced-topics/aggregations.md | 25 ++++ mongodb/advanced-topics/indexes.md | 18 +++ mongodb/crud-operations/creating-data.md | 37 +++++ mongodb/crud-operations/creating-database.md | 5 + mongodb/crud-operations/deleting-data.md | 46 ++++++ mongodb/crud-operations/reading-data.md | 28 ++++ mongodb/crud-operations/updating-data.md | 55 +++++++ mongodb/index.json | 60 ++++++++ mongodb/introduction/installation.md | 34 +++++ mongodb/introduction/key-concepts.md | 24 +++ mongodb/introduction/what-is-mongodb.md | 2 + mysql/commands/commands.md | 25 ++++ mysql/commands/dcl-commands.md | 62 ++++++++ mysql/commands/ddl-commands.md | 82 +++++++++++ mysql/commands/dml-commands.md | 54 +++++++ mysql/commands/tcl-commands.md | 27 ++++ mysql/constraints/constraints.md | 21 +++ mysql/index.json | 131 +++++++++++++++++ mysql/indexes/indexes.md | 18 +++ mysql/introduction/about-mysql.md | 14 ++ mysql/introduction/installation.md | 29 ++++ mysql/joins/joins.md | 90 ++++++++++++ mysql/keys/keys.md | 23 +++ mysql/mysql-data-types/date-and-time.md | 11 ++ mysql/mysql-data-types/numeric-data-types.md | 16 ++ mysql/mysql-data-types/string-data-types.md | 18 +++ mysql/stored-procedures/stored-procedures.md | 38 +++++ mysql/triggers/triggers.md | 44 ++++++ mysql/views/views.md | 36 +++++ oracle/commands/commands.md | 25 ++++ oracle/commands/dcl-commands.md | 53 +++++++ oracle/commands/ddl-commands.md | 82 +++++++++++ oracle/commands/dml-commands.md | 54 +++++++ oracle/commands/tcl-commands.md | 27 ++++ oracle/constraints/constraints.md | 21 +++ oracle/data-types/date-and-time.md | 11 ++ oracle/data-types/numeric-data-types.md | 16 ++ oracle/data-types/string-data-types.md | 18 +++ oracle/index.json | 131 +++++++++++++++++ oracle/indexes/indexes.md | 18 +++ oracle/introduction/installation.md | 20 +++ oracle/introduction/introduction.md | 20 +++ oracle/joins/joins.md | 90 ++++++++++++ oracle/keys/keys.md | 23 +++ oracle/stored-procedures/stored-procedures.md | 38 +++++ oracle/triggers/triggers.md | 44 ++++++ oracle/views/views.md | 36 +++++ postgresql/commands/commands.md | 25 ++++ postgresql/commands/dcl-commands.md | 62 ++++++++ postgresql/commands/ddl-commands.md | 79 ++++++++++ postgresql/commands/dml-commands.md | 54 +++++++ postgresql/commands/tcl-commands.md | 33 +++++ postgresql/constraints/constraints.md | 22 +++ postgresql/data-types/data-types.md | 13 ++ postgresql/index.json | 102 +++++++++++++ postgresql/indexes/indexes.md | 18 +++ postgresql/introduction/about-postgres.md | 9 ++ .../postgres-installation-on-windows-1.png | Bin 0 -> 100053 bytes .../postgres-installation-on-windows-10.PNG | Bin 0 -> 172866 bytes .../postgres-installation-on-windows-2.png | Bin 0 -> 48625 bytes .../postgres-installation-on-windows-3.png | Bin 0 -> 64666 bytes .../postgres-installation-on-windows-4.png | Bin 0 -> 41866 bytes .../postgres-installation-on-windows-5.png | Bin 0 -> 36234 bytes .../postgres-installation-on-windows-6.png | Bin 0 -> 37210 bytes .../postgres-installation-on-windows-7.png | Bin 0 -> 107997 bytes .../postgres-installation-on-windows-8.PNG | Bin 0 -> 80765 bytes .../postgres-installation-on-windows-9.PNG | Bin 0 -> 140928 bytes postgresql/introduction/installation.md | 43 ++++++ postgresql/joins/joins.md | 88 +++++++++++ postgresql/triggers/triggers.md | 44 ++++++ postgresql/views/views.md | 36 +++++ redis/advanced-topics/transactions.md | 63 ++++++++ redis/index.json | 60 ++++++++ redis/introduction/installation.md | 38 +++++ redis/introduction/key-concepts.md | 22 +++ redis/introduction/what-is-redis.md | 5 + redis/redis-operations/commands.md | 66 +++++++++ redis/redis-operations/hash-commands.md | 63 ++++++++ redis/redis-operations/list-commands.md | 102 +++++++++++++ redis/redis-operations/set-commands.md | 93 ++++++++++++ redis/redis-operations/sorted-set-commands.md | 138 ++++++++++++++++++ redis/redis-operations/string-commands.md | 84 +++++++++++ sql-lite/crud-operations/attach-database.md | 12 ++ sql-lite/crud-operations/create-data.md | 23 +++ sql-lite/crud-operations/create-database.md | 16 ++ sql-lite/crud-operations/create-table.md | 29 ++++ sql-lite/crud-operations/deleting-data.md | 12 ++ sql-lite/crud-operations/detach-database.md | 7 + sql-lite/crud-operations/reading-data.md | 28 ++++ sql-lite/crud-operations/updating-data.md | 14 ++ sql-lite/index.json | 58 ++++++++ sql-lite/introduction/installation.md | 6 + sql-lite/introduction/key-concepts.md | 8 + sql-lite/introduction/what-is-sqlite.md | 2 + 190 files changed, 7387 insertions(+) create mode 100644 cassandra/advanced/collection-data-types.md create mode 100644 cassandra/crud-operations/creating-data.md create mode 100644 cassandra/crud-operations/creating-keyspace.md create mode 100644 cassandra/crud-operations/creating-table.md create mode 100644 cassandra/crud-operations/deleting-data.md create mode 100644 cassandra/crud-operations/deleting-keyspace.md create mode 100644 cassandra/crud-operations/reading-data.md create mode 100644 cassandra/crud-operations/updating-data.md create mode 100644 cassandra/index.json create mode 100644 cassandra/introduction/installation.md create mode 100644 cassandra/introduction/key-concepts.md create mode 100644 cassandra/introduction/what-is-cassandra.md create mode 100644 couchdb/crud-operations/creating-data.md create mode 100644 couchdb/crud-operations/creating-database.md create mode 100644 couchdb/crud-operations/deleting-data.md create mode 100644 couchdb/crud-operations/deleting-database.md create mode 100644 couchdb/crud-operations/updating-data.md create mode 100644 couchdb/index.json create mode 100644 couchdb/introduction/installation.md create mode 100644 couchdb/introduction/key-concepts.md create mode 100644 couchdb/introduction/what-is-couchdb.md create mode 100644 dynamodb/index.json create mode 100644 dynamodb/introduction/installation.md create mode 100644 dynamodb/introduction/key-concepts.md create mode 100644 dynamodb/introduction/what-is-dynamodb.md create mode 100644 elastic-search/aggregations/bucket-aggregations.md create mode 100644 elastic-search/aggregations/metrics-aggregation.md create mode 100644 elastic-search/crud-operations/deleting-data.md create mode 100644 elastic-search/crud-operations/inserting-data.md create mode 100644 elastic-search/crud-operations/reading-data.md create mode 100644 elastic-search/crud-operations/search-database.md create mode 100644 elastic-search/crud-operations/updating-data.md create mode 100644 elastic-search/index.json create mode 100644 elastic-search/introduction/installation.md create mode 100644 elastic-search/introduction/key-concepts.md create mode 100644 elastic-search/introduction/what-is-elasticsearch.md create mode 100644 firebird/commands/commands.md create mode 100644 firebird/constraints/constraints.md create mode 100644 firebird/data-types/data-types.md create mode 100644 firebird/index.json create mode 100644 firebird/indexes/indexes.md create mode 100644 firebird/introduction/about-firebird.md create mode 100644 firebird/introduction/installation.md create mode 100644 firebird/joins/joins.md create mode 100644 firebird/stored-procedures/stored-procedures.md create mode 100644 firebird/triggers/triggers.md create mode 100644 firebird/views/views.md create mode 100644 ibm-db2/commands/commands.md create mode 100644 ibm-db2/commands/dcl-commands.md create mode 100644 ibm-db2/commands/ddl-commands.md create mode 100644 ibm-db2/commands/dml-commands.md create mode 100644 ibm-db2/commands/tcl-commands.md create mode 100644 ibm-db2/constraints/constraints.md create mode 100644 ibm-db2/data-types/data-types.md create mode 100644 ibm-db2/index.json create mode 100644 ibm-db2/indexes/indexes.md create mode 100644 ibm-db2/introduction/about-ibmdb2.md create mode 100644 ibm-db2/introduction/db2-instance.md create mode 100644 ibm-db2/introduction/installation.md create mode 100644 ibm-db2/joins/joins.md create mode 100644 ibm-db2/stored-procedures/stored-procedures.md create mode 100644 ibm-db2/triggers/triggers.md create mode 100644 ibm-db2/views/views.md create mode 100644 mariadb/commands/commands.md create mode 100644 mariadb/commands/dcl-commands.md create mode 100644 mariadb/commands/ddl-commands.md create mode 100644 mariadb/commands/dml-commands.md create mode 100644 mariadb/commands/tcl-commands.md create mode 100644 mariadb/constraints/constraints.md create mode 100644 mariadb/data-types/data-types.md create mode 100644 mariadb/index.json create mode 100644 mariadb/indexes/indexes.md create mode 100644 mariadb/introduction/about-mariadb.md create mode 100644 mariadb/introduction/installation.md create mode 100644 mariadb/joins/joins.md create mode 100644 mariadb/keys/keys.md create mode 100644 mariadb/stored-procedures/stored-procedures.md create mode 100644 mariadb/triggers/triggers.md create mode 100644 mariadb/views/views.md create mode 100644 microsoft-sql-server/commands/commands.md create mode 100644 microsoft-sql-server/commands/dcl-commands.md create mode 100644 microsoft-sql-server/commands/ddl-commands.md create mode 100644 microsoft-sql-server/commands/dml-commands.md create mode 100644 microsoft-sql-server/commands/tcl-commands.md create mode 100644 microsoft-sql-server/constraints/constraints.md create mode 100644 microsoft-sql-server/data-types/date-and-time.md create mode 100644 microsoft-sql-server/data-types/numeric-data-types.md create mode 100644 microsoft-sql-server/data-types/string-data-types.md create mode 100644 microsoft-sql-server/index.json create mode 100644 microsoft-sql-server/indexes/indexes.md create mode 100644 microsoft-sql-server/introduction/about-mssqlserver.md create mode 100644 microsoft-sql-server/introduction/installation.md create mode 100644 microsoft-sql-server/joins/joins.md create mode 100644 microsoft-sql-server/stored-procedures/stored-procedures.md create mode 100644 microsoft-sql-server/triggers/triggers.md create mode 100644 microsoft-sql-server/views/views.md create mode 100644 mongodb/advanced-topics/aggregations.md create mode 100644 mongodb/advanced-topics/indexes.md create mode 100644 mongodb/crud-operations/creating-data.md create mode 100644 mongodb/crud-operations/creating-database.md create mode 100644 mongodb/crud-operations/deleting-data.md create mode 100644 mongodb/crud-operations/reading-data.md create mode 100644 mongodb/crud-operations/updating-data.md create mode 100644 mongodb/index.json create mode 100644 mongodb/introduction/installation.md create mode 100644 mongodb/introduction/key-concepts.md create mode 100644 mongodb/introduction/what-is-mongodb.md create mode 100644 mysql/commands/commands.md create mode 100644 mysql/commands/dcl-commands.md create mode 100644 mysql/commands/ddl-commands.md create mode 100644 mysql/commands/dml-commands.md create mode 100644 mysql/commands/tcl-commands.md create mode 100644 mysql/constraints/constraints.md create mode 100644 mysql/index.json create mode 100644 mysql/indexes/indexes.md create mode 100644 mysql/introduction/about-mysql.md create mode 100644 mysql/introduction/installation.md create mode 100644 mysql/joins/joins.md create mode 100644 mysql/keys/keys.md create mode 100644 mysql/mysql-data-types/date-and-time.md create mode 100644 mysql/mysql-data-types/numeric-data-types.md create mode 100644 mysql/mysql-data-types/string-data-types.md create mode 100644 mysql/stored-procedures/stored-procedures.md create mode 100644 mysql/triggers/triggers.md create mode 100644 mysql/views/views.md create mode 100644 oracle/commands/commands.md create mode 100644 oracle/commands/dcl-commands.md create mode 100644 oracle/commands/ddl-commands.md create mode 100644 oracle/commands/dml-commands.md create mode 100644 oracle/commands/tcl-commands.md create mode 100644 oracle/constraints/constraints.md create mode 100644 oracle/data-types/date-and-time.md create mode 100644 oracle/data-types/numeric-data-types.md create mode 100644 oracle/data-types/string-data-types.md create mode 100644 oracle/index.json create mode 100644 oracle/indexes/indexes.md create mode 100644 oracle/introduction/installation.md create mode 100644 oracle/introduction/introduction.md create mode 100644 oracle/joins/joins.md create mode 100644 oracle/keys/keys.md create mode 100644 oracle/stored-procedures/stored-procedures.md create mode 100644 oracle/triggers/triggers.md create mode 100644 oracle/views/views.md create mode 100644 postgresql/commands/commands.md create mode 100644 postgresql/commands/dcl-commands.md create mode 100644 postgresql/commands/ddl-commands.md create mode 100644 postgresql/commands/dml-commands.md create mode 100644 postgresql/commands/tcl-commands.md create mode 100644 postgresql/constraints/constraints.md create mode 100644 postgresql/data-types/data-types.md create mode 100644 postgresql/index.json create mode 100644 postgresql/indexes/indexes.md create mode 100644 postgresql/introduction/about-postgres.md create mode 100644 postgresql/introduction/images/postgres-installation-on-windows-1.png create mode 100644 postgresql/introduction/images/postgres-installation-on-windows-10.PNG create mode 100644 postgresql/introduction/images/postgres-installation-on-windows-2.png create mode 100644 postgresql/introduction/images/postgres-installation-on-windows-3.png create mode 100644 postgresql/introduction/images/postgres-installation-on-windows-4.png create mode 100644 postgresql/introduction/images/postgres-installation-on-windows-5.png create mode 100644 postgresql/introduction/images/postgres-installation-on-windows-6.png create mode 100644 postgresql/introduction/images/postgres-installation-on-windows-7.png create mode 100644 postgresql/introduction/images/postgres-installation-on-windows-8.PNG create mode 100644 postgresql/introduction/images/postgres-installation-on-windows-9.PNG create mode 100644 postgresql/introduction/installation.md create mode 100644 postgresql/joins/joins.md create mode 100644 postgresql/triggers/triggers.md create mode 100644 postgresql/views/views.md create mode 100644 redis/advanced-topics/transactions.md create mode 100644 redis/index.json create mode 100644 redis/introduction/installation.md create mode 100644 redis/introduction/key-concepts.md create mode 100644 redis/introduction/what-is-redis.md create mode 100644 redis/redis-operations/commands.md create mode 100644 redis/redis-operations/hash-commands.md create mode 100644 redis/redis-operations/list-commands.md create mode 100644 redis/redis-operations/set-commands.md create mode 100644 redis/redis-operations/sorted-set-commands.md create mode 100644 redis/redis-operations/string-commands.md create mode 100644 sql-lite/crud-operations/attach-database.md create mode 100644 sql-lite/crud-operations/create-data.md create mode 100644 sql-lite/crud-operations/create-database.md create mode 100644 sql-lite/crud-operations/create-table.md create mode 100644 sql-lite/crud-operations/deleting-data.md create mode 100644 sql-lite/crud-operations/detach-database.md create mode 100644 sql-lite/crud-operations/reading-data.md create mode 100644 sql-lite/crud-operations/updating-data.md create mode 100644 sql-lite/index.json create mode 100644 sql-lite/introduction/installation.md create mode 100644 sql-lite/introduction/key-concepts.md create mode 100644 sql-lite/introduction/what-is-sqlite.md diff --git a/cassandra/advanced/collection-data-types.md b/cassandra/advanced/collection-data-types.md new file mode 100644 index 0000000..cc56070 --- /dev/null +++ b/cassandra/advanced/collection-data-types.md @@ -0,0 +1,63 @@ +CQL also provides collection data types. Following list provides different data types available in cassandra. + +1. List - Collection of one or more ordered elements. +1. map - Collection of key-value pairs. +1. set - Collection of one or more elments. + +### List +List is used to maintain the order of elements allowing duplicates. + +* Creating a Table with List +```sh +CREATE TABLE employee(id int PRIMARY KEY, name text, email list); +``` + +* Inserting Data into List +```sh +INSERT INTO employee(id, name, email) VALUES (1, 'john', +['john@gmail.com','john123ba@yahoo.com']) +``` +* Updating a List +```sh +UPDATE employee SET email = email +['johnabc@live.com'] +WHERE name = 'john'; +``` + +### SET +SET is used to store group of data and the elements will be returned in sorted order. + +* Creating a Table with Set +```sh +CREATE TABLE employee2(id int PRIMARY KEY, name text, mobile set); +``` + +* Inserting Data into Set +```sh +INSERT INTO employee2(id, name, mobile) VALUES (1, 'kevin', +{9999911122, 9998855664}) +``` +* Updating a List +```sh +UPDATE employee2 SET mobile = mobile +{9898989898} +WHERE name = 'kevin'; +``` + + +### MAP +Map is used to store key-value pair of elements. + +* Creating a Table with Map +```sh +CREATE TABLE employee3(id int PRIMARY KEY, name text, address map); +``` + +* Inserting Data into Map +```sh +INSERT INTO employee3(id, name, address) VALUES (1, 'smith', +{'home':'san jose','work':'chicago'}) +``` +* Updating a Map +```sh +UPDATE employee3 SET address = address +{'permanent':'New york'} +WHERE name = 'smith'; +``` diff --git a/cassandra/crud-operations/creating-data.md b/cassandra/crud-operations/creating-data.md new file mode 100644 index 0000000..a2d4ea9 --- /dev/null +++ b/cassandra/crud-operations/creating-data.md @@ -0,0 +1,21 @@ +INSERT command is used to insert data into columns of the table. + +Syntax + +```sh +INSERT INTO +(, ....) +VALUES (, ....) +USING