Mysql top function in mysql and php
<?php
$sql="select top 3 from 'your table name ' ";
?>
or
<?php
$sql="select top 5 from 'your table name ' ' where name LIKE 's%' ";
?>
<?php
$sql="select top 3 from 'your table name ' ";
?>
or
<?php
$sql="select top 5 from 'your table name ' ' where name LIKE 's%' ";
?>
Comments
Post a Comment