View Full Version : answers


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 [17] 18 19 20 21

  1. Lock-waits don't get logged ... but
  2. Basic DB2 transaction diagnosis question
  3. Rollforward after online backup
  4. IDUG 2004 - Europe Hosts Industry Leading Vendors
  5. date format in snapshots
  6. development center build fails
  7. SQLException on ResultSet.next
  8. v8.1 Alternate FP7 installation quesiton
  9. Database release level a.00
  10. Where has Fixpack 6 gone ?
  11. Missing dll
  12. serial equivalent in DB2
  13. SQL help
  14. SYSPROC.SYSINSTALLOBJECTS not found in one DB but exist in another DB in the same instance
  15. DB2 version without connection
  16. V7.2, Linux - Join between multiple DB
  17. Replacing a function referenced in a view
  18. Avoiding Table Scan on Update with correlated subselect
  19. collect sub-element statistics
  20. Does IBMJava2-SDK-1.4.2-0.0 work with DB2 8.2?
  21. snapshot on all db partitions
  22. LOAD via a Stored Procedure
  23. DB2 hangs...(7.2)
  24. Ruined my dear db2
  25. Deadlocking in Java program
  26. qmf - alternative query columns
  27. No double quote in UDB Export DEL file
  28. Adding a generated column
  29. INT. Entertainment Company in S. California needs Data Warehouse Specialist
  30. Database Physical Location in UDB 8.1
  31. Accessing DB2 database via Java?
  32. Cannot create view using jdbc
  33. SPs from Triggers in V8.2 - Performance?
  34. Using "load" to migrate a database to db2
  35. DB2 ver 5.2 and windows 2003 server
  36. Build java stored procedure error
  37. High Execution Time--Low CPU time for statements
  38. DB2 Locking Scheme Problem.
  39. updating table from temp table
  40. SQL Question
  41. CCSID problem on iDB2DataAdapter
  42. Opening more than 1 table via the iDB2DataAdapter
  43. Openings in Chennai for DB2 DBA Professionals
  44. Opening for TPF/ALCS Professionals
  45. Need DB2/AS400 consultant in Silicon Valley
  46. Need DB2/AS400 consultant in Silicon Valley
  47. Any tool to monitor db2diag.log?
  48. Any tool to monitor db2diag.log?
  49. RUNSTATS from SQL for UDB
  50. backup log on DB2 6 to TSM
  51. How to delete tables completely?
  52. load needs more than 1 second per table for empty tables
  53. Alter column from NOT NULL to NULL
  54. Temporary Space during LOAD
  55. Is there a way to add new item in health indicator.
  56. Syantax support
  57. db2sql92 segmentation fault
  58. DB2 8.1, Copy Stored Proc's from one db to another...how?
  59. Embedded SQL and Multithreading Question on 8.1.5
  60. restore to another machine fialed
  61. restore database to another server failed
  62. date formatting to use in stored procedures
  63. casting and padding problem
  64. Installation : An Error Has Occured. DER!
  65. INSTALL HELP.....AIX 4.3.3
  66. What is the overhead for the backup compress option ?
  67. DB2 Clob Serach case insensitive
  68. help! install DB2 On Redhat9 Segmentation Fault
  69. Net Search Extender Problems
  70. Is Stinger downloadable yet?
  71. Two New Versions of the Perl DBD::DB2 Driver Released
  72. Very slow delete using GUI
  73. DB2 V8.1 + W2K: Connection to local DB with domain user not possible
  74. IBM Support for DB2 V8 FP4
  75. How to avoid hash loops
  76. IBM DB2 Connect Enterprise Edition v8.2, other IBM DB2 (32 bit, 64 bit) (MULTiOS, Windows, Linux, Solaris), IBM iSoft Commerce Suite Server Enterprise v3.2.01, IBM Tivoli Storage Resource Manager Express Edition v1.3.2 Win, IBM Tivoli System Automati
  77. IBM DB2 ODBC-driver for download
  78. EXPORT problem
  79. Running a HADR script outside of the HADR Wizard
  80. DB2 Catalog tables poster?
  81. ERROR [40003] [IBM][CLI Driver] SQL30081N A communication error has been detected. Communic
  82. How to delete sequences
  83. DB2 UDB LUW: values current groups?
  84. DB2 Connect install problem
  85. DB2 8.2 (FP7 upgrade)
  86. Change schema name
  87. export IBM UDB (7.2) database into DB2 Mainframe
  88. Needing db2 udb version 6.5 or 7.x for windows (desesperately)
  89. V8 DPF feature and instance creation
  90. IDTHTOIN
  91. Client connection crash and Rollback..
  92. UDB Gui Tools
  93. Clustering two instances on one server
  94. DB8.1 - FP7 trouble ...
  95. DB2 Replication having slow apply (update) at the target server
  96. RI drop performance gains issue
  97. combine db2uext2.cdisk & db2uext2.ctsm together?
  98. SQLStatistics driver bug?
  99. Question Regarding Auto Increment Field
  100. Opinion on most stable release
  101. tablespace container design
  102. How to backup and restore from tape device
  103. accessing multiple schemas -- 390 & cobol
  104. DB2 8.1.5 SQL1224N Error
  105. URGENT SQL help
  106. How can I force DB2 to advance to next logical log?
  107. Is there a restriction for an index creation?
  108. using a stored procedure to compare tables
  109. Tablespace Offline / Corrupt Quandry
  110. Temporary table performance problem on UDB 8 on Linux
  111. Cant find sequences...
  112. How to get specified between dates
  113. "where not in " doesn't work
  114. Problem with redirected restore
  115. budgeting for a new database?
  116. DB2 UDB configured to run at least near optimally at what percentage of sites?
  117. Anything newer than DB2 version 5 client
  118. Calling COBOL sub-routines from Stored procedures written in SQL
  119. Switch from Oracle to DB2
  120. Finally: SQL procedure tracing
  121. DB2 equiv. to setDefaultFixedString [oracle]
  122. COM.ibm.db2.jdbc.app.DB2Driver.<clinit>(Unknown Source)
  123. MLN: alter bufferpool on subset of MLNs
  124. DB2 Replication and updates
  125. Client Access screen does not respond, system request no problem
  126. quick question: Stinger and FP7 the same?
  127. Creating Function refering to sequence
  128. Converting Stored Process to other DBMS?
  129. Disappointed with IBM's new APAR search engine
  130. SQL2000 linked server with new 5.3 Client Tools
  131. SQL how to
  132. How do I get DB2 to know I have a C compiler?
  133. New DB2 responsibilities
  134. DB2 1.2 - Plea for help
  135. HOW TO TRACK RECOVERY?
  136. user defined function
  137. uninstall cube views code ???
  138. Control Center access across firewall
  139. Tablespaces on backup image (UDB v8.1)
  140. questions on udf_mem_sz.
  141. "Package Cache Overflow" in db2diag.log?
  142. Database Log-file
  143. DB2-PHP Memory problem
  144. Dynamic SQL - "MERGE INTO......"
  145. SQL -2650 when running Capture
  146. Upgrade AIX
  147. Create concatenated string from a result set using SQL
  148. IDUG 2004 Europe 11-14 October 2004 Prague, Czech Republic
  149. i18n'ed Character Set in DBMS and tables
  150. db2start : error ... libcxa.so.1
  151. Numerous Very Small Log Files
  152. FP7 size on linux
  153. VIRTUALIZATION ENGINE CONSOLE A RUNTIME 1.1 - IBM (3 CDs), WEBSPHERE BUSINESS INTEGRATION CONNECT ADVANCED v4.2.2 - IBM, other 16,000 more CDs, [ no dongles, no activations, etc ... needed ! ]
  154. confusion with number of processors using ESE
  155. Loading data from a .DAT file
  156. Doubt About Unix server Authentication
  157. DB2 data locked away forever?
  158. remote access on the same instance
  159. used pages increase after deleting and loading again
  160. db2licm
  161. DB2 8 + DB2 7, Can they co-exist??
  162. Data Warehouse Specialist - S. California
  163. howto keep two db2 in sync ?
  164. CCA3061N error connecting to new databased only
  165. Using a response file to restore a UDB v7.2 server on a new box
  166. Extremely slow Administrative Server
  167. Client connection fails with SQL0973N Not enough storage in MON_HEAP_SZ
  168. DB2 UDB 64-bits
  169. Moving from AIX to Windows
  170. SQLCODE error when trying to access temporary table
  171. update transmogrifies to insert/delete
  172. Size of indexes in a particular tablespace?
  173. Redirected Restore
  174. catalog cache heap question
  175. recursive queries
  176. db2cctr will not initialize if XP SP2 is installed
  177. Please HELP .. instance crash ver 8.2
  178. V8.1 FP7
  179. query
  180. DB2 UDB LUW: (c1,c2) = ('10000','01/16/2004'): OK ( c1,c2) >= ('10000','01/16/2004'): NOK
  181. Sorting
  182. How many memory for the connect gateway with 10.000 connect users
  183. db2iupdt
  184. Bind Needed for remote remote PC Access to DB2 for OS/390
  185. SP problem: SQL0727N with type "1". and SQLCODE "-551", SQLSTATE "42501"
  186. Stinger server vs. FP6 admin client compatibility
  187. db2advis in DB2 Version 8 Fixpax 7
  188. more thoughts on 8.2
  189. problem converting DOUBLE to CHAR
  190. fyi load csv file from windows
  191. connect UDB V8 client to 390 V6 instance
  192. URGENT - DB2 Client 8.1.2?
  193. bufferpool content
  194. Db2 v5.2 on NT4 crashed
  195. DB2 8.1 ESE Win32 installation problem
  196. 8.2 maintenance wizard ??
  197. Snapshot Missing Dynamic SQL Total Execution Time
  198. current user id
  199. DB2 connection Pooling
  200. federation problems
  201. federation problems
  202. Db2 load API options
  203. debugger options not showing up in develpment centre
  204. DB2 DLFM
  205. sqlj.install_jar problem on both Solaris and Linux
  206. DB2 Stored Procedures and Dynamic SQL returning a Result Set
  207. db2expln and federated
  208. db2 vs oracle
  209. Beef with 8.1 Information Center
  210. Create database from a client
  211. Backup and Export
  212. Backup Performance
  213. Anybody Using Power4 or Power5 platforms?
  214. Determine Database Name or Instance Name from SQL in DB2
  215. debugging options don't show up for SQL stored procedures
  216. LEFT OUTER JOIN's possible in DB2?
  217. SQLCODE -817
  218. How to uninstall DB2 Connect v. 7?
  219. DB2 SQL Procedural Language Outside Procedure
  220. db2cctr - trap under Win XP SP2
  221. Using Transactions to Insert Data to Db2 Database
  222. slow connections with DB2DataSource
  223. unexpected result from COALESCE
  224. Need Updated List of DB2 CLI PATCH2 Keyword Values
  225. db2_all : escape * ' ( " in ksh
  226. Identity column Equivalent for DB2?
  227. DB2 V8 Fixpack 7 (akaV8.2)
  228. Not more than 5 Threads
  229. application status question
  230. SQL Server inked server to as400 - for the love of god please help.
  231. DB2 V8 FP7 problem
  232. DB2 UDB Error Message
  233. DB2 ContentManager Windows Programming App. Search Method
  234. nested select question
  235. as400 and sql via ODBC
  236. PHP - DB2 weird error while refreshing page
  237. Java Stored procedures 8.1.6
  238. PASSING A COLUMNS NAME TO TABLE FUNCTION
  239. DB2 V7 z/OS and ODBC CLI optimization
  240. Check temporary table existing
  241. Search Criteria for Windows Programming
  242. load with "allow read access" gives -911 on UDB v8 FP 5 on AIX
  243. query timeout
  244. Huge estimated cost for a simple delete statement with cascade
  245. Snapshot function?
  246. Deletes way slower on AIX, two questions
  247. DB2 READLIMIT parameter : where is it documented ?
  248. list database partition......
  249. DB2 8.01 - need help with deadlock problem (Event Monitor Log Attached)
  250. Proc1 result set with proc2
  251. DB2 v8 performance improvement for Stored Proc resolution
  252. db2 function error! help
  253. Direct Access Without Index ?
  254. DBA command
  255. db2diag.log not writing
  256. Catalog Cache vs. Buffer Pool for SYSCATSPACE
  257. Catalog Cache vs. Buffer Pool for SYSCATSPACE
  258. order by issue
  259. Intermittant user authentication error
  260. Bind Error while using ALIAS on VIEW with other owner (DB2 OS/390)
  261. SQL0407N occurs when binding files from older version (DB2 v7.2 @ OS/2)
  262. DB2 UDB 8.1 Exam 700
  263. Catalog Cache Overflow
  264. Runstats manipulation
  265. Setup for MQSeries functions
  266. Statement event monitor doesnt report statement text
  267. Latest version number on Windows?
  268. problem using java packages in jdbc stored procedures
  269. SET QUERY OPTIMIZATION in UDF
  270. Scratchpad in SQL UDF
  271. db2licd stopping
  272. iODBC vs unixODBC ?
  273. Stored Procedure
  274. Stored procedure question
  275. EEE partitions process performance are different
  276. Dynamic SQL in UDF
  277. db2eventlog.000
  278. SQL0444 received when executing a stored procedure
  279. static and dynamic SQL
  280. DB2 Runtime Client Lite Installation Problems
  281. Prefetchers
  282. Log arhiving Frequency (Rule of thumb)
  283. Solaris kernel parm sd_max_throttle
  284. OK, Based on the few responses I got, TSM is not a problem in other shops? Really?
  285. Java UDF problem
  286. DB2 v8 32 bit on Solaris 64 bit
  287. db2 fixpak overwriting symbolic link
  288. looking for db2 expert 8.1 win2003 or win2000
  289. backup/restore nTs data
  290. Thanks!
  291. Locale issue with db2
  292. how to set/configure ip for DB2 on windows for remote JDBC
  293. FULL OUTER JOIN
  294. Oracle to DB2 Migration issues
  295. Severe memory problem with V8
  296. Linked DB2 table in MSAccess 2000 shows #Deleted on every record
  297. How to change a column name.
  298. Reading sql script - newbe question
  299. Use of 'LIKE' in SQL 'WHERE' statement in Batch COBOL program
  300. encryption data with replication
  301. JDBC Error
  302. migrate DB2 table to MS SQL server with GIF fields
  303. DB2 V7.2 fixpak 12 / UTF-8 db doing extra Unicode -> UTF-8 conversion on client?
  304. Issues with Index, Full Scans instead
  305. CA issues million dollar challenge to open source community
  306. Passing data from one stored procedure to another
  307. Insert is slow are there tweaks?
  308. Obese Table
  309. TSM Troubles
  310. can no longer view APARS
  311. ROWID Equivalent
  312. connection error from .net to as400 db2 database
  313. ODBC from Linux
  314. sql update from stage tables with two column keys db2 V8
  315. Compile tool for procedure builder in windows
  316. Cannot create an instance after deinstall DB2. Was told the instance already exists
  317. Logging speed.
  318. Perl and DB2 Stored Procedures
  319. UDB8.2 - Debugging SQL Procedures
  320. about the system temporary tablespace
  321. Need to improve my stored procedure , your comments are welcome!!
  322. DB2MOVE problem between AIX and Windows
  323. Many Direct Writes to SYSCATSPACE, and each very slow.
  324. problem setting up a client
  325. applname in db2 govenor cfg
  326. Online migration of a DB2 table across tablespaces
  327. db2fmp process
  328. Corrupted connections using DB2 Gateway
  329. Coarsification of colums: not generated colums but row-value constructors in DB2 UDB
  330. sqlurlog question
  331. Getting IBMdadb2 error : Access Denied when configuring linked server in sql2000
  332. Tivoli - News groups?
  333. Backup db to TSM only use one session
  334. TIMESTAMPs and WHERE
  335. HELP - Need to connect to DB2 database on AIX from NT server. Also AS/400 from NT Server
  336. set integrity and testing DATE format
  337. Can I use a sub query to define the contents of the FROM clause of a query?
  338. Nested SP:s and result sets
  339. Cursor Not In Prepared State
  340. looking for a sql editor
  341. Help with group by
  342. limiting number of rows returned in a cursor select
  343. Creating a sequence alias
  344. UPDATE problem
  345. /job/ DB2 UDB warehouse manager (former Visual Warehouse)...
  346. Single table restore
  347. 911 deadlock
  348. Partitioning In DB2
  349. some health indicator questions
  350. JOINS
  351. DB2 on Network Mounted Filesystems (Linux) ...
  352. reorg using system temporary table space for table in tablespaceswith variable page size
  353. create table .... not logged initially error or not?
  354. LOCKTIMEOUT
  355. Performance problem on Linux
  356. DB2 UDB LUW: Upgrade all type-1 in indices to type-2, check (afterwards)
  357. Trigger error ....
  358. backup consideration
  359. How to fix an extremely slow restore
  360. MS SQL stored proc., linked server, DB2, incomplete txfrs
  361. SYSCAT.ROUTINES VALID column
  362. Concurrent I/O on Aix: When?
  363. how to release locks when the application ends with error
  364. Very important table (partition) design question: DB2 UDB EEE V8.1 on AIX 5.2
  365. db2diag error
  366. Application heap size
  367. DB2 on Windows or Linux ?
  368. How can I know to which column a null value has been assigned? (SQL0407N)
  369. C Stored Procedure error SQL0444N
  370. db2 replication
  371. SQL SP ....
  372. update statement
  373. Copying data between databases
  374. Why SQL2036N error (path not valid) when Load utility uses SMB networkdrive as source ?
  375. Odd query hang
  376. SQL Question, Stored Procedure
  377. Instead of Trigger results into SQL1424N
  378. Video extender - Java samples?
  379. db2look question
  380. generated by default or as always
  381. Debugging Stored Procedures
  382. Client Configuration Information
  383. JDBC: How to determine an invalid connection
  384. SQL-procedure-statement ....
  385. OUTER JOIN problem
  386. Mass copy data from db2 in OS/390 to udb db2 running NT
  387. SQL join/UNIQUE question?
  388. Arnold Schwarzenegger loses Recall Vote and returns to full-time body building, only to finish 2nd in Mr. Galaxy to Pat Paulsen.
  389. stored procs in cobol?
  390. DB2 Admin client failing
  391. LOB Locator Limit Exceeded
  392. installing DB2 on Linux
  393. Arnold Schwarzenegger Commits Suicide
  394. Adminclient ...
  395. lock escalation question
  396. IBM DB2 Personal Connect
  397. Creating Aliases across Databeses in an Instance
  398. Problem with procedure ...
  399. Delay between SQL statements in DB2
  400. NSE index updating problem
  401. DB2 Admin client failing
  402. Why does FETCH FIRST slow down query?
  403. lock conversion U-Locks
  404. Indexing mode "autoselect"
  405. CLI problem
  406. SQL6048N/DBI1281E on SuSE 9, doesn't go away after reinstall
  407. Monitoring changes in a database
  408. How many extents does a BLOB need?
  409. How to change to an older JDBC driver
  410. db2diag.log message ....
  411. Uninstall UDB8.1 on windows
  412. merge statements and triggers
  413. copying data from one database to another database
  414. Bind files from NT to 400.
  415. configuring java stored procedure so only 1 sp call processed at a time
  416. Websites ....
  417. Help needed : How to Execute a string SQL statement with DB2
  418. Websites ....
  419. SQL stored procedure on z/OS ....
  420. XML Extender and DAD issue...
  421. Java Stored procedure
  422. DB2 8.1 rtc and MacOs X
  423. DB2 Replication: Change Aggregate Table
  424. update a database
  425. Assistance with Auditing Checklist for IBM DB2
  426. ConnectionString ado.net and iseries
  427. DB2 Crash in the weekend
  428. External UDFs & Embedded SQL
  429. Federated DB, access to remote sequence
  430. db2 first admins
  431. Back with the same DB2/PHP problem
  432. Looking for a development tool
  433. UDFs (written in C)
  434. Error message help
  435. cannot do DB2 operation even though logged in with administrative privileges
  436. Defragmentation and Performance
  437. LOB Locators and DB2CLI
  438. Easier Object changing in Stinger ?
  439. DB2 on OS/390 - Administrative API ??
  440. Alternatives for "OUTER JOIN"
  441. stored procedure
  442. DB2 XML Extender: Error while dxxGenXML()
  443. SQL stored procedure on UDB 8.1.3 ....
  444. Direct reads & In memory Database
  445. Migration toolkit question ....
  446. Error message cause HELP
  447. Quest disappearing HELP EMERGENCY
  448. how to remove the row lock from admin side
  449. Cursor in UDF
  450. SessionId on DB2/AS400 ?
  451. C++ on DB2 express
  452. Table scans for larger rowcounts?
  453. File Permissions for system administor on AIX for DB2 UDB
  454. Java Stored procedures cannot get updated class file recognised
  455. User permissions for the DB2 UDB sysadmin user id on AIX.
  456. Question related to "CREATE TABLE AS SELECT" in DB2
  457. how to connect db2 client to server
  458. restore question
  459. DB2 Mainframe JOB
  460. Unable to create char columns > 254
  461. failure recovery in a cluster?
  462. Shared Library problems on Solaris
  463. X Row locks causing Lock-waits
  464. DBI DB2 Federated
  465. DB2 8.1 and AWE
  466. RTFM, but which one?
  467. Can you have more than one Java Stored Procedure in a Class
  468. Java / C SP migration help
  469. db2fm produces two error messages per second forever...
  470. Do you use Job Scheduling?
  471. Db2 partitions in V4.0.1
  472. DB2 Procedures & Cursors
  473. Transact -SQL in SYBASE ....
  474. SYBASE to DB2 ....
  475. Last committed transaction
  476. Odd Stored Procedure Behavior
  477. Urgent Questions regarding Index usage & VIEWs, sorting, etc.
  478. SQL0444N when calling a stored procedure
  479. SQL0418N error: Untyped parameter markers cannot be used in some cases???
  480. Tuning CLI/ODBC application
  481. SQLJ Vs JDBC ....
  482. db2 + php screwy messages -- HELP, please!
  483. Printing with UDB WSE v8 and Win2000
  484. Num query fields affects num rows
  485. db2set running every 10 seconds
  486. Data compression i DB2
  487. UserExit succeeded manully but failed when loaded automatically by DB2
  488. CURRENT SQLID in CLP ....
  489. Character delimiter ....
  490. SQL0818N Timestamp conflict occurred
  491. Compiling db2uext2.cdisk with Cygwin gcc
  492. xml input into temp table.
  493. Use of MQTs
  494. Deadlock on runstats / reorgchk
  495. CLOSE_CURSORS_AT_COMMIT ....
  496. Inserts And Updates Using An UR-Connection
  497. Returning exceptions from a SP called from a Trigger...
  498. Select from different server
  499. IBM Distributed Debugger ....
  500. Query performance
  501. rebalancing containers
  502. Upcoming OCIUG Meeting & Querix Full Day Workshop -- Updated Agenda
  503. administration server not active udb 7.1 windows 2000
  504. "SQLSTATE" not valid in the context where it is used.
  505. How to reduce dirty page steals?
  506. Command Center script saving ? V7 / V8 changed behaviour
  507. New blog
  508. Transferring Data from Sql Server 2000 to IBM db2 udb
  509. db2icrt is not of the right version
  510. Meaning of direct_writes in tablespace snapshot
  511. Generated DB2 tablespace with datafile
  512. Problem using Control Center to create database from backup
  513. Handling invalid database connections from connection pools
  514. Instance crash on db2 v 8.1.5
  515. Backup and Restore DB
  516. Simple SQLj question ....
  517. After Reorg space is not reclaimed
  518. Returning user defined datatype from stored function.
  519. JDBC Connection on AIX and DB2 7.2.4
  520. Invoke LOAD command?
  521. Stand by server
  522. Sorting primary key
  523. strange "Log Full"
  524. memory error with sqleAddEntryToResync
  525. SQLJ stored procedure ....
  526. How to implement CA Erwin change management?
  527. URGENT HELP - Fixpack 6
  528. what's "share-nothing archtecture"?
  529. Health Center UDB V8.1.4 for Windows start problems
  530. Sync. remote DB
  531. STORED PROCEDURE SETUP???
  532. Errors in first stored procedure
  533. Help - Dynamic Table
  534. INSTEAD OF INSERT ON
  535. INSTEAD OF INSERT trigger
  536. How to do an variant select in a stored procedure?
  537. Incomplete recovery with lost of data
  538. Performance of SQL
  539. cpu time high
  540. DB2 V8.1 System Tables Diagram
  541. index hit
  542. DB2 date format issue
  543. Restoring Backup image problem
  544. javax.sql package for DataSource interface ....
  545. sqlcode=-843/SQL0843N why ....
  546. DataSource interface ....
  547. Returning multiple result sets
  548. how to compare two tables difference
  549. SQL1224N.....SQLSTATE=55032 Problem.
  550. Multiple counts using grouping, ordering, and joins