Solar_Sql_Select::innerJoinSelect()
public
Solar_Sql_Select
Solar_Sql_Select::innerJoinSelect
( string|Solar_Sql_Select $spec
, string $name
, string $cond
, array|string $cols = NULL
)
Adds an INNER JOIN sub-select and columns to the query.
Parameters
(string|Solar_Sql_Select)
$spec
: If a Solar_Sql_Select object, use as the sub-select; if a string, the sub-select command string.(string)
$name
: The alias name for the sub-select.(string)
$cond
: Join on this condition.(array|string)
$cols
: The columns to select from the joined table.
Returns
(Solar_Sql_Select)
Description
Adds an INNER JOIN sub-select and columns to the query.