From f8c33d9e7c372b5ba040b0df90c7bc8430aea1de Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Tue, 12 Jul 2022 14:57:37 -0300 Subject: [PATCH] readme: tweaks --- README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 446b7f3..32799d2 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,8 @@ This repository contains the holy book, The Qur'an, in its original Arabic and a in English, Farsi, and Portuguese. The contents are made available in JSON, and SQL files. **Navigation** -1. [`src/json`directory](#srcjson-directory) -2. [`src/sql` directory](#srcsql-directory) +1. [`src/json/`directory](#srcjson-directory) +2. [`src/sql/` directory](#srcsql-directory) 3. [`bin/` directory](#bin-directory) ### `src/json/` directory @@ -240,12 +240,12 @@ phrase in the English translation of The Qur'an, using the LIKE operator: ```sql SELECT qurans.locale, - chapters.number as chapter, - verses.number as verse, + chapters.number AS chapter, + verses.number AS verse, verses.content from verses INNER JOIN qurans ON qurans.id = verses.quran_id INNER JOIN chapters ON chapters.id = verses.chapter_id -WHERE qurans.locale = "en" AND +WHERE qurans.locale = 'en' AND verses.content LIKE '%reflected light%'; ``` @@ -253,12 +253,12 @@ The output should look like this: ``` sqlite> SELECT qurans.locale, - ...> chapters.number as chapter, - ...> verses.number as verse, - ...> verses.content from verses + ...> chapters.number AS chapter, + ...> verses.number AS verse, + ...> verses.content FROM verses ...> INNER JOIN qurans ON qurans.id = verses.quran_id ...> INNER JOIN chapters ON chapters.id = verses.chapter_id - ...> WHERE qurans.locale = "en" AND + ...> WHERE qurans.locale = 'en' AND ...> verses.content LIKE '%reflected light%'; locale chapter verse content ------ ------- ----- ------------------------------------------------------------