<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Programming &amp; Software Q&amp;A | CollectiveSolver - Recent questions tagged sql</title>
<link>https://collectivesolver.com/tag/sql</link>
<description>Powered by Question2Answer</description>
<item>
<title>How to group rows by text and show distinct lines of text in MySQL with SQL</title>
<link>https://collectivesolver.com/92213/how-to-group-rows-by-text-and-show-distinct-lines-of-text-in-mysql-with-sql</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/92213/how-to-group-rows-by-text-and-show-distinct-lines-of-text-in-mysql-with-sql</guid>
<pubDate>Sat, 29 Nov 2025 21:45:26 +0000</pubDate>
</item>
<item>
<title>How to include a word and exclude another word in MySQL (MariaDB) with SQL</title>
<link>https://collectivesolver.com/91234/how-to-include-a-word-and-exclude-another-word-in-mysql-mariadb-with-sql</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/91234/how-to-include-a-word-and-exclude-another-word-in-mysql-mariadb-with-sql</guid>
<pubDate>Sun, 02 Nov 2025 05:04:49 +0000</pubDate>
</item>
<item>
<title>How to fetch rows where a field value is less than or equal to 15 characters in MySQL with SQL</title>
<link>https://collectivesolver.com/75453/how-to-fetch-rows-where-a-field-value-is-less-than-or-equal-to-15-characters-in-mysql-with-sql</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/75453/how-to-fetch-rows-where-a-field-value-is-less-than-or-equal-to-15-characters-in-mysql-with-sql</guid>
<pubDate>Mon, 15 Jul 2024 18:52:43 +0000</pubDate>
</item>
<item>
<title>How to replace part of a string in MySQL with SQL</title>
<link>https://collectivesolver.com/66630/how-to-replace-part-of-a-string-in-mysql-with-sql</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/66630/how-to-replace-part-of-a-string-in-mysql-with-sql</guid>
<pubDate>Mon, 17 Jul 2023 16:30:55 +0000</pubDate>
</item>
<item>
<title>How to create SQL SELECT query to find all the words from string in database rows with PHP</title>
<link>https://collectivesolver.com/38768/how-to-create-sql-select-query-to-find-all-the-words-from-string-in-database-rows-with-php</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/38768/how-to-create-sql-select-query-to-find-all-the-words-from-string-in-database-rows-with-php</guid>
<pubDate>Fri, 29 Jan 2021 16:14:50 +0000</pubDate>
</item>
<item>
<title>How to create SQL SELECT query to find all the words from array in database rows with PHP</title>
<link>https://collectivesolver.com/38766/how-to-create-sql-select-query-to-find-all-the-words-from-array-in-database-rows-with-php</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/38766/how-to-create-sql-select-query-to-find-all-the-words-from-array-in-database-rows-with-php</guid>
<pubDate>Fri, 29 Jan 2021 16:07:26 +0000</pubDate>
</item>
<item>
<title>How to create database with UTF8 character set in MySQL using SQL</title>
<link>https://collectivesolver.com/36777/how-to-create-database-with-utf8-character-set-in-mysql-using-sql</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/36777/how-to-create-database-with-utf8-character-set-in-mysql-using-sql</guid>
<pubDate>Mon, 30 Nov 2020 10:21:18 +0000</pubDate>
</item>
<item>
<title>How to create database in MySQL using SQL</title>
<link>https://collectivesolver.com/36771/how-to-create-database-in-mysql-using-sql</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/36771/how-to-create-database-in-mysql-using-sql</guid>
<pubDate>Sun, 29 Nov 2020 20:05:01 +0000</pubDate>
</item>
<item>
<title>How to print field (column) from table in MySQL with PHP and SQL</title>
<link>https://collectivesolver.com/36719/how-to-print-field-column-from-table-in-mysql-with-php-and-sql</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/36719/how-to-print-field-column-from-table-in-mysql-with-php-and-sql</guid>
<pubDate>Sat, 28 Nov 2020 07:50:50 +0000</pubDate>
</item>
<item>
<title>How to use order by with multiple columns in MySQL with SQL</title>
<link>https://collectivesolver.com/35313/how-to-use-order-by-with-multiple-columns-in-mysql-with-sql</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/35313/how-to-use-order-by-with-multiple-columns-in-mysql-with-sql</guid>
<pubDate>Mon, 12 Oct 2020 16:54:34 +0000</pubDate>
</item>
<item>
<title>How to order by field length in MySQL with SQL</title>
<link>https://collectivesolver.com/35311/how-to-order-by-field-length-in-mysql-with-sql</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/35311/how-to-order-by-field-length-in-mysql-with-sql</guid>
<pubDate>Mon, 12 Oct 2020 16:47:49 +0000</pubDate>
</item>
<item>
<title>How to remove duplicate rows in MySQL with SQL</title>
<link>https://collectivesolver.com/32767/how-to-remove-duplicate-rows-in-mysql-with-sql</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/32767/how-to-remove-duplicate-rows-in-mysql-with-sql</guid>
<pubDate>Tue, 21 Jul 2020 19:33:20 +0000</pubDate>
</item>
<item>
<title>How to ignore error when insert duplicate rows in MySql table with SQL</title>
<link>https://collectivesolver.com/27108/how-to-ignore-error-when-insert-duplicate-rows-in-mysql-table-with-sql</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/27108/how-to-ignore-error-when-insert-duplicate-rows-in-mysql-table-with-sql</guid>
<pubDate>Thu, 17 Oct 2019 17:49:44 +0000</pubDate>
</item>
<item>
<title>How to get the total rows from a MySQL table with SQL in PHP &amp; PDO</title>
<link>https://collectivesolver.com/26948/how-to-get-the-total-rows-from-a-mysql-table-with-sql-in-php-%26-pdo</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/26948/how-to-get-the-total-rows-from-a-mysql-table-with-sql-in-php-%26-pdo</guid>
<pubDate>Wed, 09 Oct 2019 18:33:52 +0000</pubDate>
</item>
<item>
<title>How to select a range of rows (N1 to N2) from a MySQL table with SQL</title>
<link>https://collectivesolver.com/26946/how-to-select-a-range-of-rows-n1-to-n2-from-a-mysql-table-with-sql</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/26946/how-to-select-a-range-of-rows-n1-to-n2-from-a-mysql-table-with-sql</guid>
<pubDate>Wed, 09 Oct 2019 18:25:52 +0000</pubDate>
</item>
<item>
<title>How to select the last N rows from a MySQL table with SQL</title>
<link>https://collectivesolver.com/26942/how-to-select-the-last-n-rows-from-a-mysql-table-with-sql</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/26942/how-to-select-the-last-n-rows-from-a-mysql-table-with-sql</guid>
<pubDate>Wed, 09 Oct 2019 17:50:06 +0000</pubDate>
</item>
<item>
<title>How to select the first N rows from a MySQL table with SQL</title>
<link>https://collectivesolver.com/26939/how-to-select-the-first-n-rows-from-a-mysql-table-with-sql</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/26939/how-to-select-the-first-n-rows-from-a-mysql-table-with-sql</guid>
<pubDate>Wed, 09 Oct 2019 16:54:59 +0000</pubDate>
</item>
<item>
<title>How to get the total rows from a MySQL table with SQL</title>
<link>https://collectivesolver.com/26937/how-to-get-the-total-rows-from-a-mysql-table-with-sql</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/26937/how-to-get-the-total-rows-from-a-mysql-table-with-sql</guid>
<pubDate>Wed, 09 Oct 2019 16:47:14 +0000</pubDate>
</item>
<item>
<title>How to update table column of every row in MySQL with SQL</title>
<link>https://collectivesolver.com/26707/how-to-update-table-column-of-every-row-in-mysql-with-sql</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/26707/how-to-update-table-column-of-every-row-in-mysql-with-sql</guid>
<pubDate>Wed, 25 Sep 2019 17:08:52 +0000</pubDate>
</item>
<item>
<title>How to change the database engine of a MySQL database table to MyISAM or InnoDB in SQL</title>
<link>https://collectivesolver.com/26678/how-to-change-the-database-engine-of-a-mysql-database-table-to-myisam-or-innodb-in-sql</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/26678/how-to-change-the-database-engine-of-a-mysql-database-table-to-myisam-or-innodb-in-sql</guid>
<pubDate>Tue, 24 Sep 2019 14:36:34 +0000</pubDate>
</item>
<item>
<title>How to get all the columns names from table in MySQL with SQL</title>
<link>https://collectivesolver.com/26625/how-to-get-all-the-columns-names-from-table-in-mysql-with-sql</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/26625/how-to-get-all-the-columns-names-from-table-in-mysql-with-sql</guid>
<pubDate>Sun, 22 Sep 2019 17:57:49 +0000</pubDate>
</item>
<item>
<title>How to insert data from one table to another in MySQL with SQL</title>
<link>https://collectivesolver.com/26619/how-to-insert-data-from-one-table-to-another-in-mysql-with-sql</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/26619/how-to-insert-data-from-one-table-to-another-in-mysql-with-sql</guid>
<pubDate>Sun, 22 Sep 2019 16:33:51 +0000</pubDate>
</item>
<item>
<title>How to filter select rows by column length in MySQL with SQL</title>
<link>https://collectivesolver.com/26366/how-to-filter-select-rows-by-column-length-in-mysql-with-sql</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/26366/how-to-filter-select-rows-by-column-length-in-mysql-with-sql</guid>
<pubDate>Sat, 07 Sep 2019 14:52:45 +0000</pubDate>
</item>
<item>
<title>How to order select rows by column length in MySQL with SQL</title>
<link>https://collectivesolver.com/26364/how-to-order-select-rows-by-column-length-in-mysql-with-sql</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/26364/how-to-order-select-rows-by-column-length-in-mysql-with-sql</guid>
<pubDate>Sat, 07 Sep 2019 14:17:23 +0000</pubDate>
</item>
<item>
<title>How to select N random records in MySQL with SQL</title>
<link>https://collectivesolver.com/26335/how-to-select-n-random-records-in-mysql-with-sql</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/26335/how-to-select-n-random-records-in-mysql-with-sql</guid>
<pubDate>Sat, 07 Sep 2019 08:06:50 +0000</pubDate>
</item>
<item>
<title>How to update MySQL table using SQL</title>
<link>https://collectivesolver.com/25502/how-to-update-mysql-table-using-sql</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/25502/how-to-update-mysql-table-using-sql</guid>
<pubDate>Fri, 02 Aug 2019 16:39:04 +0000</pubDate>
</item>
<item>
<title>How to find non-ASCII characters in MySQL with SQL</title>
<link>https://collectivesolver.com/22919/how-to-find-non-ascii-characters-in-mysql-with-sql</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/22919/how-to-find-non-ascii-characters-in-mysql-with-sql</guid>
<pubDate>Tue, 19 Mar 2019 08:01:46 +0000</pubDate>
</item>
<item>
<title>How to select records from the last 24 hours in MySQL using SQL</title>
<link>https://collectivesolver.com/20950/how-to-select-records-from-the-last-24-hours-in-mysql-using-sql</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/20950/how-to-select-records-from-the-last-24-hours-in-mysql-using-sql</guid>
<pubDate>Sat, 10 Nov 2018 16:54:50 +0000</pubDate>
</item>
<item>
<title>How to get only the first N characters of a field in MySQL with SQL</title>
<link>https://collectivesolver.com/20019/how-to-get-only-the-first-n-characters-of-a-field-in-mysql-with-sql</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/20019/how-to-get-only-the-first-n-characters-of-a-field-in-mysql-with-sql</guid>
<pubDate>Tue, 11 Sep 2018 09:35:17 +0000</pubDate>
</item>
<item>
<title>How to match a whole word in MySQL with SQL</title>
<link>https://collectivesolver.com/20017/how-to-match-a-whole-word-in-mysql-with-sql</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/20017/how-to-match-a-whole-word-in-mysql-with-sql</guid>
<pubDate>Tue, 11 Sep 2018 09:06:15 +0000</pubDate>
</item>
<item>
<title>How to remove rows with duplicate value in MySQL field in SQL</title>
<link>https://collectivesolver.com/19050/how-to-remove-rows-with-duplicate-value-in-mysql-field-in-sql</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/19050/how-to-remove-rows-with-duplicate-value-in-mysql-field-in-sql</guid>
<pubDate>Fri, 06 Jul 2018 09:55:33 +0000</pubDate>
</item>
<item>
<title>How to count duplicate value in MySQL row field with SQL</title>
<link>https://collectivesolver.com/19048/how-to-count-duplicate-value-in-mysql-row-field-with-sql</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/19048/how-to-count-duplicate-value-in-mysql-row-field-with-sql</guid>
<pubDate>Fri, 06 Jul 2018 09:42:33 +0000</pubDate>
</item>
<item>
<title>How to get last Insert id when using on duplicate key update with PDO MySQL SQL and PHP</title>
<link>https://collectivesolver.com/18723/how-to-get-last-insert-id-when-using-on-duplicate-key-update-with-pdo-mysql-sql-and-php</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/18723/how-to-get-last-insert-id-when-using-on-duplicate-key-update-with-pdo-mysql-sql-and-php</guid>
<pubDate>Tue, 12 Jun 2018 08:55:29 +0000</pubDate>
</item>
<item>
<title>How to fetch one column from MySQL table into array using PDO and PHP</title>
<link>https://collectivesolver.com/18608/how-to-fetch-one-column-from-mysql-table-into-array-using-pdo-and-php</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/18608/how-to-fetch-one-column-from-mysql-table-into-array-using-pdo-and-php</guid>
<pubDate>Sun, 03 Jun 2018 19:00:52 +0000</pubDate>
</item>
<item>
<title>How to find duplicate values in MySQL table using SQL</title>
<link>https://collectivesolver.com/18575/how-to-find-duplicate-values-in-mysql-table-using-sql</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/18575/how-to-find-duplicate-values-in-mysql-table-using-sql</guid>
<pubDate>Thu, 31 May 2018 19:04:05 +0000</pubDate>
</item>
<item>
<title>How to change MySql column position without losing data in SQL</title>
<link>https://collectivesolver.com/18573/how-to-change-mysql-column-position-without-losing-data-in-sql</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/18573/how-to-change-mysql-column-position-without-losing-data-in-sql</guid>
<pubDate>Thu, 31 May 2018 18:32:38 +0000</pubDate>
</item>
<item>
<title>How to generate 1 letter URLs and INSERT INTO MySQL with PDO in PHP</title>
<link>https://collectivesolver.com/9586/how-to-generate-1-letter-urls-and-insert-into-mysql-with-pdo-in-php</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/9586/how-to-generate-1-letter-urls-and-insert-into-mysql-with-pdo-in-php</guid>
<pubDate>Wed, 02 Nov 2016 20:04:05 +0000</pubDate>
</item>
<item>
<title>How delete all rows that have a field with more than N characters in MySQL with SQL</title>
<link>https://collectivesolver.com/8969/how-delete-all-rows-that-have-a-field-with-more-than-n-characters-in-mysql-with-sql</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/8969/how-delete-all-rows-that-have-a-field-with-more-than-n-characters-in-mysql-with-sql</guid>
<pubDate>Sun, 02 Oct 2016 06:41:54 +0000</pubDate>
</item>
<item>
<title>How to get the length (count how many characters) of a field in MySQL with SQL</title>
<link>https://collectivesolver.com/8967/how-to-get-the-length-count-how-many-characters-of-a-field-in-mysql-with-sql</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/8967/how-to-get-the-length-count-how-many-characters-of-a-field-in-mysql-with-sql</guid>
<pubDate>Sun, 02 Oct 2016 06:07:07 +0000</pubDate>
</item>
<item>
<title>How to return rows in random order in MySQL with SQL</title>
<link>https://collectivesolver.com/8720/how-to-return-rows-in-random-order-in-mysql-with-sql</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/8720/how-to-return-rows-in-random-order-in-mysql-with-sql</guid>
<pubDate>Mon, 19 Sep 2016 16:19:24 +0000</pubDate>
</item>
<item>
<title>How to order by two columns in SQL and MySQL</title>
<link>https://collectivesolver.com/8706/how-to-order-by-two-columns-in-sql-and-mysql</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/8706/how-to-order-by-two-columns-in-sql-and-mysql</guid>
<pubDate>Sun, 18 Sep 2016 18:28:12 +0000</pubDate>
</item>
<item>
<title>How to use SQL INSERT INTO and UPDATE ON DUPLICATE KEY (to avoid duplicate error) in MySQL with PDO in PHP</title>
<link>https://collectivesolver.com/8640/how-to-use-sql-insert-into-and-update-on-duplicate-key-to-avoid-duplicate-error-in-mysql-with-pdo-in-php</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/8640/how-to-use-sql-insert-into-and-update-on-duplicate-key-to-avoid-duplicate-error-in-mysql-with-pdo-in-php</guid>
<pubDate>Tue, 13 Sep 2016 18:37:50 +0000</pubDate>
</item>
<item>
<title>How to find all the max values of a field in MySQL table with SQL</title>
<link>https://collectivesolver.com/8598/how-to-find-all-the-max-values-of-a-field-in-mysql-table-with-sql</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/8598/how-to-find-all-the-max-values-of-a-field-in-mysql-table-with-sql</guid>
<pubDate>Sun, 11 Sep 2016 18:35:33 +0000</pubDate>
</item>
<item>
<title>How to find the max value of a field in MySQL table with SQL</title>
<link>https://collectivesolver.com/8595/how-to-find-the-max-value-of-a-field-in-mysql-table-with-sql</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/8595/how-to-find-the-max-value-of-a-field-in-mysql-table-with-sql</guid>
<pubDate>Sun, 11 Sep 2016 16:43:56 +0000</pubDate>
</item>
<item>
<title>How to format SQL NOW() Function (current system date and time) in MySQL</title>
<link>https://collectivesolver.com/2964/how-to-format-sql-now-function-current-system-date-and-time-in-mysql</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/2964/how-to-format-sql-now-function-current-system-date-and-time-in-mysql</guid>
<pubDate>Wed, 14 Oct 2015 06:38:35 +0000</pubDate>
</item>
<item>
<title>How to use SQL NOW() Function (current system date and time) in MySQL</title>
<link>https://collectivesolver.com/2960/how-to-use-sql-now-function-current-system-date-and-time-in-mysql</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/2960/how-to-use-sql-now-function-current-system-date-and-time-in-mysql</guid>
<pubDate>Tue, 13 Oct 2015 18:06:54 +0000</pubDate>
</item>
<item>
<title>How to use SQL ROUND() Function in MySQL</title>
<link>https://collectivesolver.com/2956/how-to-use-sql-round-function-in-mysql</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/2956/how-to-use-sql-round-function-in-mysql</guid>
<pubDate>Mon, 12 Oct 2015 07:41:02 +0000</pubDate>
</item>
<item>
<title>What is the different between SQL LENGTH() and CHAR_LENGTH() Functions in MySQL</title>
<link>https://collectivesolver.com/2953/what-is-the-different-between-sql-length-and-char_length-functions-in-mysql</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/2953/what-is-the-different-between-sql-length-and-char_length-functions-in-mysql</guid>
<pubDate>Sun, 11 Oct 2015 18:11:11 +0000</pubDate>
</item>
<item>
<title>How to use SQL CHAR_LENGTH() Function in MySQL</title>
<link>https://collectivesolver.com/2951/how-to-use-sql-char_length-function-in-mysql</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/2951/how-to-use-sql-char_length-function-in-mysql</guid>
<pubDate>Sat, 10 Oct 2015 10:11:54 +0000</pubDate>
</item>
<item>
<title>How to use SQL LENGTH() Function in MySQL</title>
<link>https://collectivesolver.com/2949/how-to-use-sql-length-function-in-mysql</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/2949/how-to-use-sql-length-function-in-mysql</guid>
<pubDate>Sat, 10 Oct 2015 10:10:28 +0000</pubDate>
</item>
</channel>
</rss>