Update README.md

This commit is contained in:
Manmadedrummer
2024-07-07 13:35:32 -04:00
committed by GitHub
parent 788150be8c
commit d65c8496ca

View File

@@ -32,45 +32,9 @@ VALUES
`(class, item_id, name, item_set_id, set_name)`: Specifies the columns into which data will be inserted:
class: Class identifier for the armor set.
item_id: Unique identifier for the armor item.
class: Class identifier for the armor set. (Warrior, Mage, Rogue, etc.)
item_id: Unique identifier for the armor item. (The Items listed in the "Armor Set")
name: Name of the armor item.
item_set_id: Identifier for the armor set.
item_set_id: Identifier for the armor set. (Each armor set has its own unique number, 551, 250, 689, etc.)
set_name: Name of the armor set.
VALUES: Indicates that the subsequent values correspond to the columns listed above.
### Explanation of SQL Code
The provided SQL code inserts data into a table named `black_market_armor_sets` in the `araxia_world` schema:
```sql
INSERT INTO araxia_world.black_market_armor_sets
(class, item_id, name, item_set_id, set_name)
VALUES
(11, 23294, 'Knight-Captain''s Dragonhide Chestpiece', 551, 'Lieutenant Commander''s Refuge');
```
INSERT INTO araxia_world.black_market_armor_sets: Specifies the table where data will be inserted.
(class, item_id, name, item_set_id, set_name): Specifies the columns into which data will be inserted:
class: Class identifier for the armor set.
item_id: Unique identifier for the armor item.
name: Name of the armor item.
item_set_id: Identifier for the armor set.
set_name: Name of the armor set.
VALUES: Indicates that the subsequent values correspond to the columns listed above.
Each set of values in parentheses represents a row of data that will be inserted into the table. For example:
```sql(11, 23294, 'Knight-Captain''s Dragonhide Chestpiece', 551, 'Lieutenant Commander''s Refuge')
```
Inserts data where:
class is 11
item_id is 23294
name is 'Knight-Captain''s Dragonhide Chestpiece'
item_set_id is 551
set_name is 'Lieutenant Commander''s Refuge'
This SQL statement adds multiple rows of armor set data to the black_market_armor_sets table, each representing a different piece of armor within the same set intended for a specific class.