我已经在PHPmyAdmin中实现了数据库,然后下载结构脚本导入到我的安卓SQLite数据库中。public class SqlSig extends SQLiteOpenHelper {
public void onCreate0x15c4b8
when preparing 'CREATE TABLE IF NOT EXISTS `arret`
我想要这个查询:1个随机的(id,word,meaning)和1个随机的不正确的任何其他单词的含义。如何在查询中获得更好的性能?$offset_result = mysql_query("SELECT FLOOR(RAND() * COUNT(*)) AS offset FROM words WHERE APPROVAL=1 AND$_SESSION['statistics']['h'].")");