Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8102203
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T23:11:09+00:00 2026-06-05T23:11:09+00:00

First explaining what is on my mind {I’m not good at English} On Alan

  • 0

First explaining what is on my mind {I’m not good at English}

On Alan Storm’s blog, I found a tricky thing about mysql. I am not sure if he’s using the command line or not. The comment section has closed over there, so I’m putting this query here instead.

mysql> select * from eav_entity_type\G

When I run this statement in my command line (Window dos based cmd) I just return normal select statement results.

Please let me know how could I get result as shown in that blog or if it is just part of a code beautifier.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T23:11:10+00:00Added an answer on June 5, 2026 at 11:11 pm

    I think you are using \g instead of \G. Unless you use \G you get default output pattern. Default is \g.

    mysql> show databases\g
    +--------------------+
    | Database           |
    +--------------------+
    | information_schema |
    | mysql              |
    | test               |
    +--------------------+
    3 rows in set (0.00 sec)
    
    mysql> show databases\G
    *************************** 1. row ***************************
    Database: information_schema
    *************************** 2. row ***************************
    Database: mysql
    *************************** 3. row ***************************
    Database: test
    3 rows in set (0.00 sec)
    

    EDIT: some more better examples:

    this is default output:

    mysql> desc reviews_by_device;
    
    +----------------------+--------------+------+-----+---------+----------------+
    | Field                | Type         | Null | Key | Default | Extra          |
    +----------------------+--------------+------+-----+---------+----------------+
    | ar_id                | int(10)      | NO   | PRI | NULL    | auto_increment |
    | ar_pkg_name          | varchar(50)  | YES  |     | NULL    |                |
    | ar_ver_code          | int(5)       | YES  |     | NULL    |                |
    | ar_ver_name          | float(3,2)   | YES  |     | NULL    |                |
    | ar_rev_lang          | varchar(10)  | YES  |     | NULL    |                |
    | ar_device            | varchar(250) | YES  |     | NULL    |                |
    | ar_rev_submit_dttm   | datetime     | YES  |     | NULL    |                |
    | ar_rev_submit_milli  | varchar(20)  | YES  |     | NULL    |                |
    | ar_rev_last_updttm   | datetime     | YES  |     | NULL    |                |
    | ar_rev_last_updmilli | varchar(20)  | YES  |     | NULL    |                |
    | ar_star_rating       | int(1)       | YES  |     | NULL    |                |
    | ar_rev_title         | varchar(250) | YES  |     | NULL    |                |
    | ar_rev_Text          | mediumtext   | YES  |     | NULL    |                |
    | ar_dev_rpl_dttm      | datetime     | YES  |     | NULL    |                |
    | ar_dev_rpl_milli     | varchar(20)  | YES  |     | NULL    |                |
    | ar_dev_rpl_text      | mediumtext   | YES  |     | NULL    |                |
    | ar_rev_link          | varchar(250) | YES  |     | NULL    |                |
    +----------------------+--------------+------+-----+---------+----------------+
    17 rows in set (0.00 sec)
    

    this is vertical report by ego command use:

    mysql> desc reviews_by_device\G
    
    *************************** 1. row ***************************
      Field: ar_id
       Type: int(10)
       Null: NO
        Key: PRI
    Default: NULL
      Extra: auto_increment
    *************************** 2. row ***************************
      Field: ar_pkg_name
       Type: varchar(50)
       Null: YES
        Key:
    Default: NULL
      Extra:
    *************************** 3. row ***************************
      Field: ar_ver_code
       Type: int(5)
       Null: YES
        Key:
    Default: NULL
      Extra:
    *************************** 4. row ***************************
    ...
    17 rows in set (0.00 sec)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Well !!!!! I am here explaining about my app first. I have 3 UIViews
Sorry if I'm not explaining good for it's 12:34 am and i'm doing late
Thanks for your replies. First I am explaining my requirement :- I created my
Let me start by explaining this is my first Android app. So I don't
The following is a failing unittest explaining a bug I found today: [TestMethod] public
Let me know if I'm not explaining this well enough as I'm confusing myself
I have recently found myself in the position of explaining an (In-House) application I
I'm having this argument about using Cursors in TSQL recently... First of all, I'm
Before I start explaining the code I will first give my use case so
It's my first time writting there but after reading and searching a lot about

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.