Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ SQL » [SOLVED] How to use aliases with SqlExp?
[SOLVED] How to use aliases with SqlExp? [message #50330 is a reply to message #50328] Mon, 24 September 2018 12:26 Go to previous message
Patisab is currently offline  Patisab
Messages: 21
Registered: December 2015
Location: France
Promising Member
Hi Mirek,

Your ideas are right. I have good results with this :

SqlId T2("T2");
SQL & Select(ID.Of(TABLE),COL1.Of(TABLE),COL2.Of(TABLE),COL1.Of(T2).As("COL1T2"),COL2.Of(T2).As("COL2T2"))
.From(TABLE)
.InnerJoin(TABLE.As(T2)).On(ID.Of(T2) == FATHER.Of(TABLE));


Thank you very much, Mister Fabulous Wink
 
Read Message icon12.gif
Read Message
Read Message
Read Message
Read Message
Previous Topic: Image in QLITE3 database
Next Topic: How to manage the access to a Db on an unstable connection
Goto Forum:
  


Current Time: Tue May 07 07:04:03 CEST 2024

Total time taken to generate the page: 0.03122 seconds