Recent
`complaint_system`.`rejections`
`phpmyadmin`.`pma__recent`
`performance_schema`.`socket_summary_by_event_name`
`phpmyadmin`.`pma__bookmark`
`mysql`.`user`
`complaint_system`.`complaints`
`phpmyadmin`.`pma__pdf_pages`
`phpmyadmin`.`pma__central_columns`
`mysql`.`table_stats`
`phpmyadmin`.`pma__export_templates`
Favorites
There are no favorite tables.
New
complaint_system
information_schema
mysql
performance_schema
phpmyadmin
test
Navigation panel
Navigation tree
Servers
Databases
Tables
Navigation panel
Customize appearance of the navigation panel.
Navigation panel
Show databases navigation as tree
In the navigation panel, replaces the database tree with a selector
Link with main panel
Link with main panel by highlighting the current database or table.
Display logo
Show logo in navigation panel.
Logo link URL
URL where logo in the navigation panel will point to.
Logo link target
Open the linked page in the main window (
main
) or in a new one (
new
).
main
new
Enable highlighting
Highlight server under the mouse cursor.
Maximum items on first level
The number of items that can be displayed on each page on the first level of the navigation tree.
Minimum number of items to display the filter box
Defines the minimum number of items (tables, views, routines and events) to display a filter box.
Recently used tables
Maximum number of recently used tables; set 0 to disable.
Favorite tables
Maximum number of favorite tables; set 0 to disable.
Navigation panel width
Set to 0 to collapse navigation panel.
Navigation tree
Customize the navigation tree.
Navigation tree
Maximum items in branch
The number of items that can be displayed on each page of the navigation tree.
Group items in the tree
Group items in the navigation tree (determined by the separator defined in the Databases and Tables tabs above).
Enable navigation tree expansion
Whether to offer the possibility of tree expansion in the navigation panel.
Show tables in tree
Whether to show tables under database in the navigation tree
Show views in tree
Whether to show views under database in the navigation tree
Show functions in tree
Whether to show functions under database in the navigation tree
Show procedures in tree
Whether to show procedures under database in the navigation tree
Show events in tree
Whether to show events under database in the navigation tree
Expand single database
Whether to expand single database in the navigation tree automatically.
Servers
Servers display options.
Servers
Display servers selection
Display server choice at the top of the navigation panel.
Display servers as a list
Show server listing as a list instead of a drop down.
Databases
Databases display options.
Databases
Minimum number of databases to display the database filter box
Database tree separator
String that separates databases into different tree levels.
Tables
Tables display options.
Tables
Target for quick access icon
Structure
SQL
Search
Insert
Browse
Target for second quick access icon
Structure
SQL
Search
Insert
Browse
Table tree separator
String that separates tables into different tree levels.
Maximum table tree depth
Drop files here
SQL upload (
0
)
x
-
Show hidden navigation tree items.
Create view
Javascript must be enabled past this point!
Server: 127.0.0.1
Database: complaint_system
Table: rejections
Browse
Structure
(current)
SQL
Search
Insert
Export
Import
Privileges
Operations
Tracking
Triggers
Console
Clear
History
Options
Bookmarks
Debug SQL
Press Ctrl+Enter to execute query
Press Enter to execute query
ascending
descending
Order:
Debug SQL
Count
Execution order
Time taken
Order by:
Group queries
Ungroup queries
Collapse
Expand
Show trace
Hide trace
Count :
Time taken :
Bookmarks
Refresh
Add
No bookmarks
Add bookmark
Label:
Target database:
Share this bookmark
OK
Options
Set default
Always expand query messages
Show query history at start
Show current browsing query
Execute queries on Enter and insert new line with Shift+Enter. To make this permanent, view settings.
Switch to dark theme
Collapse
Expand
Requery
Edit
Explain
Profiling
Bookmark
Query failed
Database :
Queried time :
Loading
ENUM/SET editor
Create view
Table structure
Table structure
Settings for the table structure (list of columns).
Table structure
Hide table structure actions
Whether the table structure actions should be hidden.
Show column comments
Whether column comments should be shown in table structure view
Default transformations
Default transformations for Hex
Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page.
2
Default transformations for Substring
Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page.
0 all …
Default transformations for Bool2Text
Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page.
T F
Default transformations for External
Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page.
0 -f /dev/null -i -wrap -q 1 1
Default transformations for PreApPend
Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page.
Default transformations for DateFormat
Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page.
0 local
Default transformations for Inline
Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page.
100 100
Default transformations for TextImageLink
Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page.
100 50
Default transformations for TextLink
Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page.
Table structure
Relation view
rejections
#
Name
Type
Collation
Attributes
Null
Default
Comments
Extra
Action
1
id
int(11)
No
None
AUTO_INCREMENT
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
2
rejection_number
varchar(32)
utf8mb4_unicode_ci
No
None
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
3
rejection_source
enum('Incoming Material', 'Supplier', 'In-Process ...
utf8mb4_unicode_ci
No
In-Process Production
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
4
rejection_stage
varchar(100)
utf8mb4_unicode_ci
No
In-Process
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
5
rejection_date
date
No
None
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
6
department_id
int(11)
No
None
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
7
product_id
int(11)
No
None
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
8
machine_id
int(11)
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
9
defect_type_id
int(11)
No
None
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
10
supplier_id
int(11)
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
11
customer_id
int(11)
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
12
material_id
int(11)
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
13
process_id
int(11)
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
14
work_order
varchar(100)
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
15
invoice_number
varchar(100)
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
16
severity
enum('Minor', 'Major', 'Critical')
utf8mb4_unicode_ci
No
Major
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
17
detection_stage
varchar(100)
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
18
shift
enum('Shift 1', 'Shift 2', 'Shift 3', 'General')
utf8mb4_unicode_ci
No
General
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
19
unit_of_measure
varchar(20)
utf8mb4_unicode_ci
No
PCS
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
20
total_received_qty
decimal(12,2)
No
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
21
inspected_qty
decimal(12,2)
No
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
22
accepted_qty
decimal(12,2)
No
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
23
production_qty
int(11)
No
0
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
24
rejected_qty
int(11)
No
0
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
25
rework_qty
decimal(12,2)
No
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
26
scrap_qty
decimal(12,2)
No
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
27
sorting_qty
decimal(12,2)
No
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
28
pending_qty
decimal(12,2)
No
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
29
rejection_rate
decimal(6,2)
No
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
30
acceptance_rate
decimal(6,2)
No
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
31
disposition
enum('Scrap', 'Rework', 'RTV (Return to Vendor)', ...
utf8mb4_unicode_ci
No
Scrap
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
32
disposition_notes
text
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
33
disposition_approved_by
int(11)
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
34
disposition_approved_at
datetime
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
35
scrap_cost
decimal(12,2)
No
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
36
root_cause_summary
text
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
37
containment_action
text
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
38
corrective_action
text
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
39
preventive_action
text
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
40
is_capa_required
tinyint(1)
No
0
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
41
capa_id
int(11)
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
42
ncr_id
int(11)
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
43
responsible_department_id
int(11)
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
44
responsible_employee
varchar(100)
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
45
target_date
date
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
46
status
enum('Open', 'Under_Investigation', 'Rework_In_Pro...
utf8mb4_unicode_ci
No
Open
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
47
material_unit_cost
decimal(12,2)
No
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
48
manufacturing_unit_cost
decimal(12,2)
No
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
49
material_loss_cost
decimal(12,2)
No
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
50
mfg_loss_cost
decimal(12,2)
No
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
51
rework_cost
decimal(12,2)
No
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
52
sorting_cost
decimal(12,2)
No
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
53
inspection_cost
decimal(12,2)
No
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
54
freight_penalty_cost
decimal(12,2)
No
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
55
gross_rejection_cost
decimal(12,2)
No
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
56
scrap_recovery
decimal(12,2)
No
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
57
supplier_recovery
decimal(12,2)
No
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
58
customer_recovery
decimal(12,2)
No
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
59
other_recoveries
decimal(12,2)
No
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
60
total_recoveries
decimal(12,2)
No
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
61
net_rejection_loss
decimal(12,2)
No
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
62
costing_method
varchar(50)
utf8mb4_unicode_ci
No
Standard Unit Cost
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
63
operator_name
varchar(100)
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
64
batch_number
varchar(100)
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
65
created_by
int(11)
No
None
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
66
created_at
datetime
No
current_timestamp()
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
67
updated_at
datetime
No
current_timestamp()
ON UPDATE CURRENT_TIMESTAMP()
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
Check all
With selected:
Browse
Change
Drop
Primary
Unique
Index
Spatial
Fulltext
Add to central columns
Remove from central columns
Move columns
Move the columns by dragging them up and down.
Preview SQL
Loading…
Error
Print
Propose table structure
Track table
Move columns
Normalize
Add
column(s)
at beginning of table
after id
after rejection_number
after rejection_source
after rejection_stage
after rejection_date
after department_id
after product_id
after machine_id
after defect_type_id
after supplier_id
after customer_id
after material_id
after process_id
after work_order
after invoice_number
after severity
after detection_stage
after shift
after unit_of_measure
after total_received_qty
after inspected_qty
after accepted_qty
after production_qty
after rejected_qty
after rework_qty
after scrap_qty
after sorting_qty
after pending_qty
after rejection_rate
after acceptance_rate
after disposition
after disposition_notes
after disposition_approved_by
after disposition_approved_at
after scrap_cost
after root_cause_summary
after containment_action
after corrective_action
after preventive_action
after is_capa_required
after capa_id
after ncr_id
after responsible_department_id
after responsible_employee
after target_date
after status
after material_unit_cost
after manufacturing_unit_cost
after material_loss_cost
after mfg_loss_cost
after rework_cost
after sorting_cost
after inspection_cost
after freight_penalty_cost
after gross_rejection_cost
after scrap_recovery
after supplier_recovery
after customer_recovery
after other_recoveries
after total_recoveries
after net_rejection_loss
after costing_method
after operator_name
after batch_number
after created_by
after created_at
after updated_at
Indexes
Loading
Action
Keyname
Type
Unique
Packed
Column
Cardinality
Collation
Null
Comment
Edit
Rename
Drop
PRIMARY
BTREE
Yes
No
id
0
A
No
Edit
Rename
Drop
rejection_number
BTREE
Yes
No
rejection_number
0
A
No
Edit
Rename
Drop
idx_rej_date
BTREE
No
No
rejection_date
0
A
No
Edit
Rename
Drop
idx_rej_dept
BTREE
No
No
department_id
0
A
No
Edit
Rename
Drop
idx_rej_prod
BTREE
No
No
product_id
0
A
No
Edit
Rename
Drop
idx_rej_defect
BTREE
No
No
defect_type_id
0
A
No
Edit
Rename
Drop
fk_rej_mach
BTREE
No
No
machine_id
0
A
Yes
Edit
Rename
Drop
fk_rej_creator
BTREE
No
No
created_by
0
A
No
Edit
Rename
Drop
idx_rej_source
BTREE
No
No
rejection_source
0
A
No
Edit
Rename
Drop
idx_rej_status
BTREE
No
No
status
0
A
No
Edit
Rename
Drop
idx_rej_supp
BTREE
No
No
supplier_id
0
A
Yes
Edit
Rename
Drop
idx_rej_cust
BTREE
No
No
customer_id
0
A
Yes
Create an index on
columns
Loading
Preview SQL
Loading…
Partitions
No partitioning defined!
Information
Space usage
Data
16.0
KiB
Index
176.0
KiB
Overhead
0
B
Effective
192.0
KiB
Total
192.0
KiB
Optimize table
Row statistics
Format
dynamic
Collation
utf8mb4_unicode_ci
Next autoindex
1
Creation
Dec 04, 2026 at 01:04 PM
Last update
Dec 04, 2026 at 08:39 PM
Last check
Dec 04, 2026 at 08:39 PM