Comparison of programming languages (databases)
From Wikipedia, the free encyclopedia
All or part of this article may be confusing or unclear. Please help clarify the article. Suggestions may be on the talk page. (February 2008) |
Contents |
[edit] MySQL databases
Prog Language | Access server | Use database | List databases | List tables |
---|---|---|---|---|
raw MySQL access | use db; | show databases; | show tables; | |
PHP | $db = mysql_access(host, user, password); | mysql_select_db(name, $db); |
[edit] Reading from tables
Prog Language | Describe | List table content | Search |
---|---|---|---|
raw MySQL access | describe tablename; | select field from tablename; | |
PHP |