Yahoo Αναζήτηση Διαδυκτίου

Αποτελέσματα Αναζήτησης

  1. I've been trying to figure out how I can make a query with MySQL that checks if the value (string $haystack) in a certain column contains certain data (string $needle), like this: SELECT * FROM `table` WHERE `column`.contains('{$needle}')

  2. 12 Φεβ 2024 · Check if String Contains Certain Data in MySQL Table Using SELECT With the LOCATE() Function. One effective method to check if a particular string occurs in a MySQL table is by utilizing the SELECT statement along with the LOCATE() function.

  3. 23 Αυγ 2021 · You can use a character class (or character set) to match a group of characters, for example "b[aiu]g" would match any string that contains a b, then one letter between a, i and u, and then a g, such as "bug", "big", "bag", but also "cabbage", "ambigous", "ladybug", and so on.

  4. 31 Οκτ 2023 · To perform a basic string contains search using the LIKE operator, you can construct a query like this: SELECT * FROM table_name WHERE column_name LIKE '%search_string%'; In this query, replace table_name with the name of your table and column_name with the name of the column you want to search in. Replace search_string with the specific string ...

  5. 1 Νοε 2018 · I want to select data where two columns are in a set of pairs. I'd like to avoid using a subquery, if possible.

  6. 12 Μαΐ 2024 · In this tutorial, we’ll look at querying rows that contain given words or phrases in SQL. We tested our examples on MS SQL Server 2022, PostgreSQL 14, and MySQL 8 databases. However, most methods we discuss should be available in other versions of these SQL implementations and other SQL dialects. 2. Problem Statement

  7. 2 Οκτ 2010 · how can i search for a particular string in mysql? I tried using contains- gives me error: SELECT r.name. , r.network. , r.namestring. , i.name. , r.rid. , i.id. , d.dtime. , d.ifInOctets. , d.description. FROM router AS r. INNER JOIN interface AS i ON r.rid = i.rid. INNER JOIN 1278993600_1_60 AS d ON i.id = d.id.