Results 1 to 4 of 4

Thread: WordPress SQL Query to retrieve data

  1. #1
    Join Date
    Apr 2009
    Posts
    40

    WordPress SQL Query to retrieve data

    Can anyone provide me the Wordpress SQL queries to retrieve data from the table i have created in my database, but before executing that i need to know how to write the code for the WordPress SQL Query does it require any special editor to write it, could we make changes to the already existing code.

  2. #2
    Join Date
    Dec 2008
    Posts
    183

    Re: WordPress SQL Query to retrieve data

    WordPress is a state-of-the-art semantic personal publishing platform with a focus on aesthetics, web standards, and usability. Simply enter your SQL query and click “Execute SQL”. If it’s a select, describe, show, or explain, an HTML table will be returned with your results.To execute an insert, update, delete, or alter, but after that, your fate is in your own hands. If it’s any other command that modifies data or structure, you’ll get a message about the number of rows affected.

  3. #3
    Join Date
    Jan 2006
    Posts
    211

    Re: WordPress SQL Query to retrieve data

    I will suggest you to follow the steps given below this will help you to download the SQL executioner that will execute the SQL query.

    1. Download wp-sql-executioner-1.0.zip (v1.0)
    2. Unzip the file and upload wp-sql-executioner.php to your plugins directory:
      /path/to/wordpress/wp-content/plugins
    3. Activate the plugin (don’t forget!)
    4. Goto Manage > SQL Executioner

  4. #4
    Join Date
    Jan 2009
    Posts
    143

    Re: WordPress SQL Query to retrieve data

    Following are the 5 wordpress SQL Query that are very important from the retrieving data from the database.

    • SELECT * FROM wp_users WHERE user_login = ”
    • SELECT post_date, post_name FROM wp_posts WHERE ID = 0
    • SELECT option_name, option_value FROM wp_options
    • SELECT * FROM wp_users
    • SELECT * FROM wp_categories WHERE 0=0

Similar Threads

  1. Retrieve selected Data From a Table
    By samualres in forum Software Development
    Replies: 5
    Last Post: 30-01-2010, 10:04 AM
  2. Problem to retrieve data from a datafile
    By harakim in forum Software Development
    Replies: 4
    Last Post: 22-05-2009, 12:22 PM
  3. Way to retrieve the data from WD external hdd
    By Sujit15 in forum Hardware Peripherals
    Replies: 4
    Last Post: 24-03-2009, 06:05 PM
  4. How to access and retrieve data from HDD ?
    By Caden in forum Hardware Peripherals
    Replies: 3
    Last Post: 21-02-2009, 06:22 PM
  5. EasyPHP : retrieve data
    By Yaropolk in forum Software Development
    Replies: 2
    Last Post: 22-11-2008, 03:44 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,716,484,265.98446 seconds with 17 queries