꽤 긴 sqlite 쿼리가 있습니다.
const char *sql_query = "SELECT statuses.word_id FROM lang1_words, statuses WHERE statuses.word_id = lang1_words.word_id ORDER BY lang1_words.word ASC";
쉽게 읽을 수 있도록 여러 줄로 나누려면 어떻게해야합니까? 내가 다음을 수행하면 :
const char *sql_query = "SELECT word_id
FROM table1, table2
WHERE table2.word_id = table1.word_id
ORDER BY table1.word ASC";
오류가 발생했습니다.
여러 줄로 쿼리를 작성하는 방법이 있습니까?