Home
Sample work
Sample code
Database visualizer
Definitions
Resume
Contact
create new table
db tools
manually enter SQL
gus_demo
:
db tools
:
Enter Raw SQL
show create table gus_demo.friendship_map
SQL script. Use the names of fields prepended with '$' to refer to the data of those fields to be processed by subqueries enclosed in {}, which can nest inside other subqueries.
{
eliminate squiggly brackets from Drupal SQL
}
PHP script to run on displayed columns. Use the names of fields prepended with '$' to refer to the data of those fields to be processed by the script.
URL of this page's state
allow direct editing of results
truncate fields
Results of Query #1
Table
Create Table
friendship_map
CREATE TABLE `friendship_map` (
`befriender_id` int(11) NOT NULL DEFAULT 0,
`befriendee_id` int(11) NOT NULL DEFAULT 0,
PRIMARY KEY (`befriender_id`,`befriendee_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci CHECKSUM=1
Delete
1 row affected.
Uptime: 1275614 Threads: 85 Questions: 538553038 Slow queries: 97 Opens: 1604760 Open tables: 15000 Queries per second avg: 422.191