Select * From temp where mydate > '2009-06-29 16:00:44';
* [skip, limit] MySQL skip first 10 results
SELECT * FROM foo LIMIT 10, 50
* [增加欄位] ALTER TABLE 敘述句 (SQL ALTER TABLE Statement)ALTER TABLE table_name
ADD column_name datatype;
Android | Web Programming | 網站程式設計 | HTML | CSS | JavaScript | PHP
Andro Chen 陳俊安的程式重點速記
Select * From temp where mydate > '2009-06-29 16:00:44';
* [skip, limit] MySQL skip first 10 results
SELECT * FROM foo LIMIT 10, 50
* [增加欄位] ALTER TABLE 敘述句 (SQL ALTER TABLE Statement)ALTER TABLE table_name
ADD column_name datatype;
"No Such Table xxx"
new AlertDialog.Builder(this)
.setIcon(R.drawable.ic_launcher)
.setTitle(R.string.dialog_title_quit)
.setMessage(R.string.dialog_msg_quit).setNegativeButton(R.string.no, null)
.setPositiveButton(R.string.yes,
new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int id) {
YourClass.this.finish();
}
})
.show();
postion是每一项所在的索引,id是该项在数据库的ID |