WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content
Discussion options

You must be logged in to vote

Hello and welcome to SQLPage !
You can rename table headings however you want by using as:

select 'table' as component;
select my_column_1 as "My Column 1", my_other_column as "My Other Column";

If you have a lot of columns, you can use the css top-level property of the shell component to apply a custom style to your table:

style.css :

th {
  text-transform: capitalize !important;
}

page.sql

select 'shell' as component, 'style.css' as css;

select 'table' as component;
select * from my_table;

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by lozdown
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
help wanted Extra attention is needed
2 participants