diff options
| author | Walter Pagani <paganiwalter@gmail.com> | 2021-01-14 15:22:52 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-14 19:22:52 +0100 |
| commit | d8d2dbe1c44d1d1c500152056e053700aad176c5 (patch) | |
| tree | a985b5202e4cdb4810a788a786211eee7da9128a | |
| parent | e5fa62c4e9035aa62d7d7a1eec943f93d3e87368 (diff) | |
| download | wiki-d8d2dbe1c44d1d1c500152056e053700aad176c5.tar.gz wiki-d8d2dbe1c44d1d1c500152056e053700aad176c5.tar.bz2 wiki-d8d2dbe1c44d1d1c500152056e053700aad176c5.zip | |
docs: Fixing an aesthetic detail in SQL (#372)
| -rw-r--r-- | docs/How-to-obtain-free-records.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/How-to-obtain-free-records.md b/docs/How-to-obtain-free-records.md index 394fe6b..8414bb3 100644 --- a/docs/How-to-obtain-free-records.md +++ b/docs/How-to-obtain-free-records.md @@ -7,7 +7,7 @@ Either because we want to insert a new value, or we want to restructure our tabl To do this, you can use the following script ```sql -SELECT t.id +1 +SELECT t.id + 1 FROM Table1 t WHERE NOT EXISTS ( SELECT * @@ -24,7 +24,7 @@ Now let's look at an example. Let's suppose that we want to search the first fre The first thing we have to identify is your primary key: `guid` ```sql -SELECT t.`guid` +1 +SELECT t.`guid` + 1 FROM `creature` t WHERE NOT EXISTS ( SELECT * |
