Yii Framework Forum: Find Methoduyla 2 Tablodan Alma Yontemi - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Find Methoduyla 2 Tablodan Alma Yontemi

#1 User is offline   selo 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 55
  • Joined: 08-November 13

Posted 03 February 2014 - 08:01 AM

mrb

böle bi select komutunu daha verimli sekilde

select e1."Event_Name", v2."Venue"
from "events" e1, "venues" v2
where (e1."VenueNo" = v2."VenueNo")
order by e1."Event_Name" asc, v2."Venue" asc

sadece findallbysql gibi bilindık bir yollamı cekeriz? yoksa bunun da bi baska yolu daha var mı?
0

#2 User is offline   McQueen 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 141
  • Joined: 13-August 11
  • Location:Istanbul/Turkey

Posted 03 February 2014 - 09:22 AM

View Postselo, on 03 February 2014 - 08:01 AM, said:

mrb

böle bi select komutunu daha verimli sekilde

select e1."Event_Name", v2."Venue"
from "events" e1, "venues" v2
where (e1."VenueNo" = v2."VenueNo")
order by e1."Event_Name" asc, v2."Venue" asc

sadece findallbysql gibi bilindık bir yollamı cekeriz? yoksa bunun da bi baska yolu daha var mı?


http://www.yiiframew...e.query-builder işini görecektir.
0

#3 User is offline   selo 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 55
  • Joined: 08-November 13

Posted 03 February 2014 - 10:41 AM

tşk.
bu görüyor ama bunu criteria ile yapıyolar. onu uyduramıyorum.
0

#4 User is offline   selo 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 55
  • Joined: 08-November 13

Posted 03 February 2014 - 11:07 AM

çalışmadı ben de.
http://www.yiiframew...le+#entry100125

bu yuzden
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users