Answers for "query.sql"

SQL
0

sql recherche nom prenom

SELECT * 
FROM personne 
WHERE nom LIKE '".$debut."%'
OR prenom LIKE '".$debut."%'
OR CONCAT(prenom, ' ', nom) LIKE '".$debut."%'
Posted by: Guest on April-07-2020
0

sql query

$meta_query_args = array(
    'relation' => 'OR', // Optional, defaults to "AND"
    array(
        'key'     => '_my_custom_key',
        'value'   => 'Value I am looking for',
        'compare' => '='
    ),
    array(
        'relation' => 'AND',
        array(
            'key'     => '_my_custom_key_2',
            'value'   => 'Value I am looking for 2',
            'compare' => '='
        ),
        array(
            'key'     => '_my_custom_key_3',
            'value'   => 'Value I am looking for 3',
            'compare' => '='
        )
    )
);
$meta_query = new WP_Meta_Query( $meta_query_args );
Posted by: Guest on April-20-2021

Code answers related to "query.sql"

Code answers related to "SQL"

Browse Popular Code Answers by Language