{"id":2959,"date":"2026-11-10T08:04:08","date_gmt":"2026-11-10T08:04:08","guid":{"rendered":"https:\/\/wiki.designcorner.co.ke\/?dc_term=query-language"},"modified":"2026-11-10T08:04:08","modified_gmt":"2026-11-10T08:04:08","slug":"query-language","status":"publish","type":"dc_term","link":"https:\/\/wiki.designcorner.co.ke\/?dc_term=query-language","title":{"rendered":"Query Language"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">What it is<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A query language lets you request data, such as all customers who bought last month. The most widespread is SQL, used by MySQL, which powers WordPress.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why it matters for your business<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Weak handling of queries can allow SQL injection attacks, which steal or destroy data.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Real-world example<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A shop owner&#039;s report asks the database for all unpaid invoices over KSh 50,000.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Design Corner tip<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Use trusted plugins and keep WordPress updated to prevent SQL injection.<\/p>\n\n\n","protected":false},"excerpt":{"rendered":"<p>A special language for asking a database to find, add or change information.<\/p>\n","protected":false},"featured_media":0,"template":"","dc_letter":[22],"dc_topic":[60,34],"class_list":["post-2959","dc_term","type-dc_term","status-publish","hentry","dc_letter-q","dc_topic-data-and-databases","dc_topic-software-and-development"],"_links":{"self":[{"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=\/wp\/v2\/dc_term\/2959","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=\/wp\/v2\/dc_term"}],"about":[{"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=\/wp\/v2\/types\/dc_term"}],"version-history":[{"count":0,"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=\/wp\/v2\/dc_term\/2959\/revisions"}],"wp:attachment":[{"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2959"}],"wp:term":[{"taxonomy":"dc_letter","embeddable":true,"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=%2Fwp%2Fv2%2Fdc_letter&post=2959"},{"taxonomy":"dc_topic","embeddable":true,"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=%2Fwp%2Fv2%2Fdc_topic&post=2959"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}