Search
 
SCRIPT & CODE EXAMPLE
 

PHP

select distinct after join

SELECT DISTINCT table1.field1, table2.field2 FROM table1
JOIN table2 ON table1.id = table2.id 
Comment

PREVIOUS NEXT
Code Example
Php :: get record of last 24 hours in laravel 
Php :: php get ip to location 
Php :: url encode php 
Php :: check image is available on server php 
Php :: laravel hash::check 
Php :: how to remove index.php in codeigniter 
Php :: get custom field 
Php :: laravel eloquent only today 
Php :: check if constant is defined php 
Php :: print array php 
Php :: key of last element php 
Php :: php exception message 
Php :: how to get browser info in php 
Php :: complete url php 
Php :: php get url path name 
Php :: php delete array item by value not key 
Php :: determine special characters in php 
Php :: what php can do 
Php :: select case default php 
Php :: wordpress get username 
Php :: add days to date with laravel 
Php :: read key value json php 
Php :: integer default value laravel 
Php :: using js variable in php 
Php :: php convert array to json object 
Php :: carbon parse subday 
Php :: run laravel localhost network 
Php :: php temp directory 
Php :: http error 500 phpmyadmin 
Php :: increase xampp phpmyadmin import limit 
ADD CONTENT
Topic
Content
Source link
Name
2+4 =